Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace :admin do
- mount AdminSettings::Engine => "/"
- mount AdminProfile::Engine => "/"
- end
- # admin_settings/config/routes.rb
- AdminSettings::Engine.routes.draw do
- resources :settings
- end
- # admin_profile/config/routes.rb
- AdminProfile::Engine.routes.draw do
- resources :profile
- end
- # then you could access
- # /admin/profiles
- # /admin/settings
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement