Sha256: 2533ce997d2f47e3f143e2a59a9823b36056c504c809c5276fcbbe2272fe6a65

Contents?: true

Size: 594 Bytes

Versions: 17

Compression:

Stored size: 594 Bytes

Contents

module Locomotive
  module Public
    class BaseController < ApplicationController

      include Locomotive::Routing::SiteDispatcher
      include Locomotive::ActionController::LocaleHelpers
      include Locomotive::ActionController::SectionHelpers
      include Locomotive::ActionController::UrlHelpers
      include Locomotive::ActionController::Timezone

      skip_load_and_authorize_resource

      around_filter :set_timezone

      before_filter :require_site

      protected

      def set_locale
        logger.info "[public/set_locale] TO BE OVERRIDEN"
      end

    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
locomotive_cms-2.5.7 app/controllers/locomotive/public/base_controller.rb
locomotive_cms-2.5.6 app/controllers/locomotive/public/base_controller.rb
locomotive_cms-2.5.6.rc2 app/controllers/locomotive/public/base_controller.rb
locomotive_cms-2.5.6.rc1 app/controllers/locomotive/public/base_controller.rb
locomotive_cms-2.5.5 app/controllers/locomotive/public/base_controller.rb
locomotive_cms-2.5.4 app/controllers/locomotive/public/base_controller.rb
locomotive_cms-2.5.3 app/controllers/locomotive/public/base_controller.rb
locomotive_cms-2.5.2 app/controllers/locomotive/public/base_controller.rb
locomotive_cms-2.5.1 app/controllers/locomotive/public/base_controller.rb
locomotive_cms-2.5.0 app/controllers/locomotive/public/base_controller.rb
locomotive_cms-2.5.0.rc3 app/controllers/locomotive/public/base_controller.rb
locomotive_cms-2.5.0.rc2 app/controllers/locomotive/public/base_controller.rb
locomotive_cms-2.5.0.rc1 app/controllers/locomotive/public/base_controller.rb
locomotive_cms-2.4.1 app/controllers/locomotive/public/base_controller.rb
locomotive_cms-2.4.0 app/controllers/locomotive/public/base_controller.rb
locomotive_cms-2.3.1 app/controllers/locomotive/public/base_controller.rb
locomotive_cms-2.3.0 app/controllers/locomotive/public/base_controller.rb