Sha256: 9bf2e9c5059068e40f1d67ed49f95a833406288bc97d4069fefd56d3dbbe34bb

Contents?: true

Size: 279 Bytes

Versions: 8

Compression:

Stored size: 279 Bytes

Contents

class Dorsale::ApplicationController < ::ApplicationController
  include Pundit
  include Dorsale::BackUrlConcern

  after_action :verify_authorized
  after_action :verify_policy_scoped

  layout -> {
    if request.xhr?
      false
    else
      "application"
    end
  }

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dorsale-3.1.7 app/controllers/dorsale/application_controller.rb
dorsale-3.1.6 app/controllers/dorsale/application_controller.rb
dorsale-3.1.5 app/controllers/dorsale/application_controller.rb
dorsale-3.1.4 app/controllers/dorsale/application_controller.rb
dorsale-3.1.3 app/controllers/dorsale/application_controller.rb
dorsale-3.1.2 app/controllers/dorsale/application_controller.rb
dorsale-3.1.1 app/controllers/dorsale/application_controller.rb
dorsale-3.1.0 app/controllers/dorsale/application_controller.rb