Sha256: c07760da69a71468beeb7c1de8660fe8ff4be7e6fdfe16836928cceb4a9eb549

Contents?: true

Size: 730 Bytes

Versions: 14

Compression:

Stored size: 730 Bytes

Contents

module Locomotive
  class BaseController < ApplicationController

    include Locomotive::Concerns::SslController
    include Locomotive::Concerns::RedirectToMainHostController
    include Locomotive::Concerns::UrlHelpersController
    include Locomotive::Concerns::AccountController
    include Locomotive::Concerns::ExceptionController
    include Locomotive::Concerns::AuthorizationController
    include Locomotive::Concerns::StoreLocationController
    include Locomotive::Concerns::WithinSiteController

    layout '/locomotive/layouts/application'

    helper Locomotive::BaseHelper, Locomotive::ErrorsHelper

    self.responder = Locomotive::ActionController::Responder # custom responder

    respond_to :html

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
locomotivecms-3.4.1 app/controllers/locomotive/base_controller.rb
locomotivecms-3.4.0 app/controllers/locomotive/base_controller.rb
locomotivecms-3.3.0 app/controllers/locomotive/base_controller.rb
locomotivecms-3.3.0.rc3 app/controllers/locomotive/base_controller.rb
locomotivecms-3.3.0.rc2 app/controllers/locomotive/base_controller.rb
locomotivecms-3.1.2 app/controllers/locomotive/base_controller.rb
locomotivecms-3.2.1 app/controllers/locomotive/base_controller.rb
locomotivecms-3.3.0.rc1 app/controllers/locomotive/base_controller.rb
locomotivecms-3.2.0 app/controllers/locomotive/base_controller.rb
locomotivecms-3.2.0.rc2 app/controllers/locomotive/base_controller.rb
locomotivecms-3.2.0.rc1 app/controllers/locomotive/base_controller.rb
locomotivecms-3.1.1 app/controllers/locomotive/base_controller.rb
locomotivecms-3.1.0 app/controllers/locomotive/base_controller.rb
locomotivecms-3.1.0.rc3 app/controllers/locomotive/base_controller.rb