Displaying 1 result from an estimated 1 matches for "contest_list".
Did you mean:
contact_list
2006 Oct 16
0
Restful routes, not repeating yourself and non-standard rest actions best practices
...lly handle this situation? Do you do define a non-standard
restful route such as the following:
map.resources :contests, :collection => { :list => :get}
or do you specify a regular route as follows:
map.with_options(:controller => ''contests'') do | contest |
contest. contest_list ''contests/list'', :action => ''list''
Or do you simply use the same index view for both admin and regular
users, but add conditional statements in the view to display a
different listing if the user is an administrator? (this isn''t really
ideal, since I...