What is the best way to reuse a controller’s actions and views?
Lets say I have an application that has controller:
This controller would be accessable from the following url
I need to create another controller that has the actions of this
controller, plus some more actions of its own
If I created another controller: ImageController < SampleController
Then this url : http://localhost:3000/sample/image/blah_action would
take me to the ImageController if the actions exist exists in it.
however if the action doesn’t exist, it should use the parent’s
actions and views.
What is the best way to do this?