No, I just failed on copy/paste and lost the end in the original post when
removing the up-route :/
resources :priorities do
member do
get 'up'
get 'add'
end
collection do
end
end
rake routes (complete)
up_priority GET /priorities/:id/up(.:format)
{:controller=>"priorities", :action=>"up"}
add_priority GET /priorities/:id/add(.:format)
{:controller=>"priorities", :action=>"add"}
priorities GET /priorities(.:format)
{:controller=>"priorities", :action=>"index"}
priorities POST /priorities(.:format)
{:controller=>"priorities", :action=>"create"}
new_priority GET /priorities/new(.:format)
{:controller=>"priorities", :action=>"new"}
edit_priority GET /priorities/:id/edit(.:format)
{:controller=>"priorities", :action=>"edit"}
priority GET /priorities/:id(.:format)
{:controller=>"priorities", :action=>"show"}
priority PUT /priorities/:id(.:format)
{:controller=>"priorities", :action=>"update"}
priority DELETE /priorities/:id(.:format)
{:controller=>"priorities", :action=>"destroy"}
root /(.:format)
{:controller=>"priorities", :action=>"index"}
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.