Skip to content

Commit

Permalink
more renaming
Browse files Browse the repository at this point in the history
Signed-off-by: Radiant CMS dev team <radiant@prime-motif.com>
  • Loading branch information
pascal authored and Radiant CMS dev team committed Jan 30, 2009
1 parent 4f88b31 commit 84d6b47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion reorder_extension.rb
Expand Up @@ -7,7 +7,7 @@ class ReorderExtension < Radiant::Extension
url "http://dev.radiantcms.org/"

define_routes do |map|
map.with_options :controller => "admin/pages" do |page|
map.with_options :controller => "admin/page" do |page|
page.page_move_lower "admin/pages/:id/move_lower", :action => "move_lower"
page.page_move_higher "admin/pages/:id/move_higher", :action => "move_higher"
page.page_move_to_bottom "admin/pages/:id/move_to_bottom", :action => "move_to_bottom"
Expand Down
4 changes: 2 additions & 2 deletions test/functional/pages_controller_extensions_test.rb
@@ -1,13 +1,13 @@
require File.dirname(__FILE__) + "/../test_helper"

Admin::PagesController.class_eval { def rescue_action(e); raise(e); end }
Admin::PageController.class_eval { def rescue_action(e); raise(e); end }

class PagesControllerExtensions < Test::Unit::TestCase
fixtures :pages
test_helper :login, :page, :difference

def setup
@controller = Admin::PagesController.new
@controller = Admin::PageController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
login_as(:existing)
Expand Down

0 comments on commit 84d6b47

Please sign in to comment.