We're going to add some constraints in the routes file, and if we add a `resolve` clause inside a constraints block, we get an error saying that "The resolve method can't be used inside a routes scope block" when starting the application.
4 lines
65 B
Ruby
4 lines
65 B
Ruby
resources :communities, only: [:show] do
|
|
resources :topics
|
|
end
|