Sha256: c4e311f08562d8581ab577039478c5b79974c55ee791c820f90facd80209e3bd

Contents?: true

Size: 698 Bytes

Versions: 6

Compression:

Stored size: 698 Bytes

Contents

module Locomotive
  class BaseController < ApplicationController

    include Locomotive::ActionController::Ssl
    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'

    before_filter :require_ssl

    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.0.0.rc5 app/controllers/locomotive/base_controller.rb
locomotivecms-3.0.0.rc4 app/controllers/locomotive/base_controller.rb
locomotivecms-3.0.0.rc3 app/controllers/locomotive/base_controller.rb
locomotivecms-3.0.0.rc2 app/controllers/locomotive/base_controller.rb
locomotivecms-3.0.0.rc1 app/controllers/locomotive/base_controller.rb
locomotivecms-3.0.0.pre.beta.1 app/controllers/locomotive/base_controller.rb