Class: AmcmsFilemanager::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- AmcmsFilemanager::ApplicationController
show all
- Defined in:
- app/controllers/amcms_filemanager/application_controller.rb
Instance Method Summary
collapse
Instance Method Details
#authenticate ⇒ Object
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
|