Guest User

Untitled

a guest
Aug 17th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. Sample::Application.routes.draw do
  2. # Route /a/b -> Foo::BarsController. This is useful
  3. # when you need to conform to a certain url structure
  4. # while using a controller that doesn't match that structure,
  5. # eg. a controller supplied by a Rails engine.
  6. scope '/a' do
  7. resources :b, controller: 'bars', module: 'foo'
  8. end
  9. end
Add Comment
Please, Sign In to add comment