Module: Foreman::Controller::SmartProxyAuth::SmartProxyRequireSsl

Defined in:
app/controllers/concerns/foreman/controller/smart_proxy_auth.rb

Instance Method Summary collapse

Instance Method Details

#require_ssl?Boolean

Returns:

  • (Boolean)

26
27
28
29
30
31
32
# File 'app/controllers/concerns/foreman/controller/smart_proxy_auth.rb', line 26

def require_ssl?
  if [self.smart_proxy_filter_actions].flatten.map(&:to_s).include?(action_name)
    false
  else
    super
  end
end