aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/lib')
-rw-r--r--actionview/lib/action_view/routing_url_for.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/routing_url_for.rb b/actionview/lib/action_view/routing_url_for.rb
index 782f1865d6..6907239e1c 100644
--- a/actionview/lib/action_view/routing_url_for.rb
+++ b/actionview/lib/action_view/routing_url_for.rb
@@ -86,7 +86,7 @@ module ActionView
when Array
polymorphic_path(options, options.extract_options!)
when Class
- method = class_path_helper_call options
+ method, = class_path_helper_call options
send method
else
method, args = model_path_helper_call options