Sha256: d78a98db0ff2d603c4f44f6a593656bc38817f7959387824ab76cd0c9067db3a

Contents?: true

Size: 785 Bytes

Versions: 6

Compression:

Stored size: 785 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
    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

6 entries across 6 versions & 1 rubygems

Version Path
locomotivecms-3.1.0.rc2 app/controllers/locomotive/base_controller.rb
locomotivecms-3.1.0.rc1 app/controllers/locomotive/base_controller.rb
locomotivecms-3.0.1 app/controllers/locomotive/base_controller.rb
locomotivecms-3.0.0 app/controllers/locomotive/base_controller.rb
locomotivecms-3.0.0.rc7 app/controllers/locomotive/base_controller.rb
locomotivecms-3.0.0.rc6 app/controllers/locomotive/base_controller.rb