I\'d like to be able to dispatch from one controller action to another conditionally, based on a combination of query parameters and data in the database.
What I hav
Instead of calling code across actions, extract the code to lib/ or something, and call that code from both controllers.
# lib/foo.rb module Foo def self.bar # ... end end # posts_controller def index Foo.bar end # things_controller def index Foo.bar end