diff options
Diffstat (limited to 'actionpack/test/template/prototype_helper_test.rb')
-rw-r--r-- | actionpack/test/template/prototype_helper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/prototype_helper_test.rb b/actionpack/test/template/prototype_helper_test.rb index 2be2c6f17e..6158584e9d 100644 --- a/actionpack/test/template/prototype_helper_test.rb +++ b/actionpack/test/template/prototype_helper_test.rb @@ -214,7 +214,7 @@ class PrototypeHelperTest < Test::Unit::TestCase "/authors" end - def polymorphic_path(record, url_writer) + def polymorphic_path(record) if record.new_record? "/authors" else |