Sha256: 7b1038a24bbe2bf1e7b9686d45882ad52fd3c7865233409bef4eb2373d5b142c

Contents?: true

Size: 454 Bytes

Versions: 11

Compression:

Stored size: 454 Bytes

Contents

# This is a module, not a helper, that is meant to be included
# into controllers that want to use page templates for their layout
module Cms
  module TemplateSupport
    def self.included(controller)
      controller.class_eval do
        include Cms::Authentication::Controller
        include Cms::ErrorHandling
        
        helper Cms::PageHelper
        helper Cms::MenuHelper
        helper Cms::RenderingHelper

      end
    end
  end
  
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
browsercms-artirix-4.0.4 app/helpers/cms/template_support.rb
browsercms-artirix-4.0.3.3 app/helpers/cms/template_support.rb
browsercms-artirix-4.0.3.2 app/helpers/cms/template_support.rb
browsercms-artirix-4.0.3.1 app/helpers/cms/template_support.rb
browsercms-artirix-4.0.3 app/helpers/cms/template_support.rb
browsercms-artirix-4.0.2 app/helpers/cms/template_support.rb
browsercms-artirix-4.0.1.1 app/helpers/cms/template_support.rb
browsercms-artirix-4.0.0.rc1.art4 app/helpers/cms/template_support.rb
browsercms-4.0.0.rc1 app/helpers/cms/template_support.rb
browsercms-4.0.0.beta app/helpers/cms/template_support.rb
browsercms-4.0.0.alpha app/helpers/cms/template_support.rb