Sha256: 1fb6e33659e489564ca229cc4ebb695039b0b6ffbd040c3dfb4a98f63e17f721

Contents?: true

Size: 697 Bytes

Versions: 12

Compression:

Stored size: 697 Bytes

Contents

class LayoutsExtension < TrustyCms::Extension
  version YAML::load_file(File.join(File.dirname(__FILE__), 'VERSION'))
  description "A set of useful extensions to standard Layouts."
  url "http://github.com/squaretalent/trusty-share-layouts-extension"
  
  def activate
    # Shared Layouts
    RailsPage
    ApplicationController.send :include, ShareLayouts::Controllers::ActionController
    ActionView::Base.send :include, ShareLayouts::Helpers::ActionView
    
    # Nested Layouts
    Page.send   :include, NestedLayouts::Tags::Core
    
    # HAML Layouts
    Layout.send  :include, HamlLayouts::Models::Layout
    Page.send    :include, HamlLayouts::Models::Page
    HamlFilter
  end
  
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
trusty-layouts-extension-3.1.1 layouts_extension.rb
trusty-layouts-extension-3.1.0 layouts_extension.rb
trusty-layouts-extension-3.0.0 layouts_extension.rb
trusty-layouts-extension-2.0.4 layouts_extension.rb
trusty-layouts-extension-2.0.3 layouts_extension.rb
trusty-layouts-extension-2.0.2 layouts_extension.rb
trusty-layouts-extension-2.0.1 layouts_extension.rb
trusty-layouts-extension-2.0.0.pre.beta layouts_extension.rb
trusty-layouts-extension-1.1.0 layouts_extension.rb
trusty-layouts-extension-1.0.4 layouts_extension.rb
trusty-layouts-extension-1.0.3 layouts_extension.rb
trusty-layouts-extension-1.0.2 layouts_extension.rb