Created
November 14, 2008 15:16
-
-
Save Mikr0Tik/24944 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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