Displaying 1 result from an estimated 1 matches for "raidmanagercontrol".
2006 Jan 25
1
Routes working with subdirectories repeat subdirectory...
...cify both :controller
and :action when using link_to.
Example:
<%= link_to ''Edit'', { :controller => ''/raid_manager'', :action =>
''edit_raid_template'', :id => raid_template.id } %>
The above is being called from within the Admin::RaidManagerController. The
controller was generated by using the Rails generate script, with a filename
argument of "admin/RaidManager". Whenever I use that format, it prepends
Admin:: to my class name - why? I know :: is the scope resolution operator,
but there''s scarce documentation about, even i...