Sha256: 92776998926090cce69e649d55e9e449b2d363e2723b87085aa425d0695c7305
Contents?: true
Size: 708 Bytes
Versions: 10
Compression:
Stored size: 708 Bytes
Contents
# Uncomment this if you reference any of your controllers in activate require_dependency 'application_controller' class ReorderExtension < TrustyCms::Extension version "1.0.2" description "Allows (re)ordering of pages in the page tree." url "https://github.com/pgharts/trusty-reorder-extension" def activate admin.page.index.add :sitemap_head, "order_header" admin.page.index.add :node, "order" admin.page.index.add :top, 'header' Page.send :include, Reorder::PageExtensions Admin::PagesController.send :include, Reorder::PagesControllerExtensions Admin::PagesController.send :helper, Reorder::PageHelper StandardTags.send :include, Reorder::TagExtensions end end
Version data entries
10 entries across 10 versions & 1 rubygems