Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sample::Application.routes.draw do
- # Route /a/b -> Foo::BarsController. This is useful
- # when you need to conform to a certain url structure
- # while using a controller that doesn't match that structure,
- # eg. a controller supplied by a Rails engine.
- scope '/a' do
- resources :b, controller: 'bars', module: 'foo'
- end
- end
Add Comment
Please, Sign In to add comment