Class: ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Includes:
BetterContentSecurityPolicy::HasContentSecurityPolicy, Pundit::Authorization
Defined in:
app/controllers/application_controller.rb

Instance Method Summary collapse

Instance Method Details

#index ⇒ Object



29
30
31
32
# File 'app/controllers/application_controller.rb', line 29

def index
  skip_policy_scope
  redirect_to helpers.landing_page_path
end