Skip to content

Instantly share code, notes, and snippets.

@agibralter
Forked from chrishawaii/gist:24944
Created November 14, 2008 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agibralter/24945 to your computer and use it in GitHub Desktop.
Save agibralter/24945 to your computer and use it in GitHub Desktop.
map.resources :settings
settings.namespace do |setting|
setting.resources :units
setting.resources :groups
end
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