# Uncomment this if you reference any of your controllers in activate require_dependency 'application' class SchedulerExtension < Radiant::Extension version "0.2" description "Allows setting of appearance and expiration dates for pages." url "http://dev.radiantcms.org" def activate Page.send :include, Scheduler::PageExtensions SiteController.send :include, Scheduler::ControllerExtensions admin.page.edit.add :extended_metadata, "edit_scheduler_meta" end def deactivate end end