Displaying 1 result from an estimated 1 matches for "list_contest".
Did you mean:
list_content
2006 Oct 16
0
Restful routes, not repeating yourself and non-standard rest actions best practices
...is an administrator? (this isn''t really
ideal, since I do want administrators to see the same index as regular
users, but when they''re in the admin section of the site, I want them
to see the administrative display of the contests).
I used to just define an extra action (such as list_contests) in my
admin_controller, which would display the admin view for the given
object. But it seems to make more sense to put all of these things
into the same controller, so for example, the contests_controller is
responsible for all access to contest objects.
What I''m trying to understand...