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