Method: Devise::FailureApp#recall_app

Defined in:
lib/devise/failure_app.rb

#recall_app(app) ⇒ Object (protected)



213
214
215
216
217
218
# File 'lib/devise/failure_app.rb', line 213

def recall_app(app)
  controller, action = app.split("#")
  controller_name  = ActiveSupport::Inflector.camelize(controller)
  controller_klass = ActiveSupport::Inflector.constantize("#{controller_name}Controller")
  controller_klass.action(action)
end