Sha256: 11f808cf5f31e8aa6fb83184a0c82d304aaf314b1360f81fad6f58c5885bc16e
Contents?: true
Size: 611 Bytes
Versions: 2
Compression:
Stored size: 611 Bytes
Contents
require_dependency 'application_controller' class CopyMoveExtension < Radiant::Extension version "2.3.0" description "Adds the ability to copy or move a page with or without its children" url "https://github.com/avonderluft/radiant-copy-move" def activate Admin::PagesController.class_eval do include CopyMove::Controller helper :copy_move end Page.class_eval { include CopyMove::Model } admin.page.index.add :sitemap_head, 'copy_move_extra_th', :before => 'actions_column_header' admin.page.index.add :node, 'copy_move_extra_td', :before => 'actions_column' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
radiant-copy_move-extension-2.3.1 | copy_move_extension.rb |
radiant-copy_move-extension-2.3.0 | copy_move_extension.rb |