Sha256: 953aae8a2eaa898ae17d42e851c316647f64c1cbbab74e0db4473b835125043f

Contents?: true

Size: 675 Bytes

Versions: 11

Compression:

Stored size: 675 Bytes

Contents

module Locomotive
  class BaseController < ApplicationController

    include Locomotive::Concerns::SslController
    include Locomotive::Concerns::RedirectToMainHostController
    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

11 entries across 11 versions & 1 rubygems

Version Path
locomotivecms-4.1.1 app/controllers/locomotive/base_controller.rb
locomotivecms-4.1.0 app/controllers/locomotive/base_controller.rb
locomotivecms-4.1.0.rc1 app/controllers/locomotive/base_controller.rb
locomotivecms-4.0.3 app/controllers/locomotive/base_controller.rb
locomotivecms-4.0.2 app/controllers/locomotive/base_controller.rb
locomotivecms-4.0.1 app/controllers/locomotive/base_controller.rb
locomotivecms-4.0.0 app/controllers/locomotive/base_controller.rb
locomotivecms-4.0.0.rc0 app/controllers/locomotive/base_controller.rb
locomotivecms-4.0.0.alpha3 app/controllers/locomotive/base_controller.rb
locomotivecms-4.0.0.alpha2 app/controllers/locomotive/base_controller.rb
locomotivecms-4.0.0.alpha1 app/controllers/locomotive/base_controller.rb