Permalink
Browse files

Added a missing parameter to relative_url_root= that was causing an A…

…rgumentError: wrong number of arguments (1 for 0) to be thrown at actionpack-3.0.10/lib/action_controller/railtie.rb:54.
  • Loading branch information...
1 parent 394dd6f commit 328ae5bb9b6cf2bda2ec9e5f4c1fd92c16be311f mhuffnagle committed Nov 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/deprecated/base.rb
@@ -8,7 +8,7 @@ def relative_url_root
"Please stop using it.", caller
end
- def relative_url_root=
+ def relative_url_root=(value)
ActiveSupport::Deprecation.warn "ActionController::Base.relative_url_root= is ineffective. " <<
"Please stop using it.", caller
end

0 comments on commit 328ae5b

Please sign in to comment.