search for: contests_controller

Displaying 1 result from an estimated 1 matches for "contests_controller".

Did you mean: contents_controller
2006 Oct 16
0
Restful routes, not repeating yourself and non-standard rest actions best practices
...me to have to separate these methods. Also, another thing that has been concerning me is that often I''ll have both an administrative view and a regular user view for an object.. For example, I may have a list of contests that are displayed publicly to all users via the index action in the contests_controller, but I also want to display another (condensed) index listing for administrators inside an adminstrative section. How does everyone normally handle this situation? Do you do define a non-standard restful route such as the following: map.resources :contests, :collection => { :list => :get}...