Class: AmcmsFilemanager::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/amcms_filemanager/application_controller.rb

Instance Method Summary collapse

Instance Method Details

#authenticateObject



5
6
7
8
9
# File 'app/controllers/amcms_filemanager/application_controller.rb', line 5

def authenticate
  return unless AmcmsFilemanager.config.try(:authentication).present?

  send("authenticate_#{AmcmsFilemanager.config.authentication[:model]}!")
end