Permalink
Browse files

`add` will remove the method if it exists already

  • Loading branch information...
1 parent bd944e0 commit cf6658c2842d92c7d23928ec6f72074dce345f15 @tenderlove tenderlove committed Jul 30, 2014
Showing with 0 additions and 1 deletion.
  1. +0 −1 actionpack/lib/action_dispatch/routing/route_set.rb
@@ -290,7 +290,6 @@ def handle_positional_args(controller_options, inner_options, args, result, path
#
def define_url_helper(mod, route, name, opts, route_key, url_strategy)
helper = UrlHelper.create(route, opts, route_key, url_strategy)
- mod.remove_possible_method name
mod.module_eval do
define_method(name) do |*args|
options = nil

0 comments on commit cf6658c

Please sign in to comment.