Displaying 2 results from an estimated 2 matches for "list_manag".
2006 Jul 03
2
Routing acting strangely - mixed case controller names fail?
...of course, I have
map.connect '':controller/:action/:id''
in my routes.rb file.
When I click on this link, I get a routing error. What''s potentially
interesting about this URL is that the controller name is mixed case.
Class is ListManagementController, file name is list_management, and my
URL is:
/listManagement/target_lists_delete/6
Am I specifying the link name incorrectly? Is it possible that
specifying the mixed case controller name in a URL used to work but now
cannot be resolved correctly?
Should it be list_management or ListManagement?
I am pretty confide...
2006 Jul 21
1
Paginate - does it requires a specialized route?
.... But there''s something fundamental here that I''m
missing.
I have this link_to call:
<%= link_to ''Previous page'', { :page =>
@target_list_pages.current.previous } if
@target_list_pages.current.previous %>
It generates this link:
< a hre_f="/list_management/list?page=2">Next page</ a>
What I see is the underlined text for the link but in fact, it doesn''t
render as a proper link.
Do I need to create a new route so that the page parameter can be passed
into my "list" action?
If so, what is the format of that rout...