Skip to content

Instantly share code, notes, and snippets.

@chrishawaii
Created November 14, 2008 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save chrishawaii/24944 to your computer and use it in GitHub Desktop.
Save chrishawaii/24944 to your computer and use it in GitHub Desktop.
map.resources :settings
map.namespace(:settings) do |setting|
setting.resources :units
setting.resources :groups
end
class Settings::Units < SettingsController
end
class Settings::Groups < SettingsController
end
link_to 'Groups', settings_groups_path
--> which leads to SettingsController.show, though i expected: Groups.index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment