Class: IntegrationPal::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- IntegrationPal::ApplicationController
show all
- Defined in:
- app/controllers/integration_pal/application_controller.rb
Instance Method Summary
collapse
Instance Method Details
#require_user ⇒ Object
10
11
12
13
14
|
# File 'app/controllers/integration_pal/application_controller.rb', line 10
def require_user
session[:saml_username] ||= ENV['USER'] if Rails.env.in?(%w(development test))
redirect_to saml2_login_url unless session[:saml_username]
end
|
#skip_authentication? ⇒ Boolean
6
7
8
|
# File 'app/controllers/integration_pal/application_controller.rb', line 6
def skip_authentication?
return false
end
|