Posts by Cássio Godinho • 121 points
1 post
-
2
votes3
answers141
viewsA: How to implement an Abstract Controller that executes actions implemented in concrete controllers, depending on variables passed via params?
Maybe you can do this using constraints on the route http://guides.rubyonrails.org/routing.html#Advanced-constraints Something like: get '/users/{id}', action: 'show' controller: "my_controller1",…
ruby-on-railsanswered Cássio Godinho 121