I am working in a Rails 3 application. I have few important implementations (like setting tenant id, authentication, etc) in the ApplicationController (as before filter) class of my application. Now when I try to implement API using the Grape, I am unable to re-use the applicationController logic in Grape.
Is it possible for Grape API classes to inherit ApplicationController? In case, if I am missing something here, please do educate me.
thanks.