Class: Tzispa::Engine::Rig::Auth::BasicLayout
- Inherits:
-
Layout
- Object
- Controller::Base
- Controller::Http
- Layout
- Tzispa::Engine::Rig::Auth::BasicLayout
- Defined in:
- lib/tzispa/engine/rig/auth/basic_layout.rb
Instance Attribute Summary
Attributes inherited from Controller::Http
Attributes inherited from Controller::Base
#application, #callmethod, #context, #context_class
Instance Method Summary collapse
Methods inherited from Layout
Methods inherited from Controller::Http
Methods inherited from Controller::Base
Constructor Details
This class inherits a constructor from Tzispa::Engine::Rig::Layout
Instance Method Details
#do_auth ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/tzispa/engine/rig/auth/basic_layout.rb', line 14 def do_auth # if settings.environment == :production # unless (@env['HTTP_X_FORWARDED_PROTO'] || @env['rack.url_scheme']) == 'https' # redirect "https://#{request.env['HTTP_HOST']}#{request.env['REQUEST_PATH']}" # end # end protected! end |