diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-07 19:49:25 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-12 15:54:44 -0700 |
commit | 89e0718188e4f6554998c518046a0fe5e94bf456 (patch) | |
tree | 2b14bbaae810005e849edd33620fadf2e81a785a /actionview/lib | |
parent | 4b8ab797b4653d8764c687e73cb630c32ae8bb4b (diff) | |
download | rails-89e0718188e4f6554998c518046a0fe5e94bf456.tar.gz rails-89e0718188e4f6554998c518046a0fe5e94bf456.tar.bz2 rails-89e0718188e4f6554998c518046a0fe5e94bf456.zip |
fix url_for with classes
Diffstat (limited to 'actionview/lib')
-rw-r--r-- | actionview/lib/action_view/routing_url_for.rb | 2 |
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 |