views:

42

answers:

0

I need to match /entries/slug-here/new and send it to EntriesController#new

Tried following ways, both didn't work :(

resources :entries do
  member do
    get :new
  end
end

resources :entries do
  get :new, :on => :member
end

Temporary hardcoded paths with bunch of matches, but it looks ugly >.<

UPDATED:

Same with create method and any other canonical actions -- couldn't redefine them.