Skip to content

Commit

Permalink
Update extension for 0.7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
seancribbs committed Apr 2, 2009
1 parent 7ea03b0 commit f5290e3
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
3 changes: 0 additions & 3 deletions lib/scheduler/page_extensions.rb
Expand Up @@ -6,9 +6,6 @@ def self.included(base)
class << base
alias_method_chain :find_by_url, :scheduling
end
# base.class_eval do
# alias_method_chain :render, :scheduling
# end
end

module ClassMethods
Expand Down
6 changes: 1 addition & 5 deletions scheduler_extension.rb
Expand Up @@ -9,10 +9,6 @@ class SchedulerExtension < Radiant::Extension
def activate
Page.send :include, Scheduler::PageExtensions
SiteController.send :include, Scheduler::ControllerExtensions
admin.page.edit.add :extended_metadata, "edit_scheduler_meta"
admin.pages.edit.add :extended_metadata, "edit_scheduler_meta"
end

def deactivate
end

end
2 changes: 1 addition & 1 deletion test/test_helper.rb
Expand Up @@ -9,7 +9,7 @@
class Test::Unit::TestCase

# Include a helper to make testing Radius tags easier
test_helper :extension_tags
# test_helper :extension_tags

# Add the fixture directory to the fixture path
self.fixture_path << File.dirname(__FILE__) + "/fixtures"
Expand Down

0 comments on commit f5290e3

Please sign in to comment.