diff options
author | Allen Fair <allen.fair@gmail.com> | 2014-02-20 17:39:45 -0500 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-03-04 11:25:52 -0300 |
commit | 3624ff720cf98293034d7d5fe87c08f5520099d6 (patch) | |
tree | 416f8be70ba7140fcb03b35bb2c133910a44dc9e /actionview/test/template/javascript_helper_test.rb | |
parent | 8ed0f542ddd1f38b0b42f595d828d2e4db9b6682 (diff) | |
download | rails-3624ff720cf98293034d7d5fe87c08f5520099d6.tar.gz rails-3624ff720cf98293034d7d5fe87c08f5520099d6.tar.bz2 rails-3624ff720cf98293034d7d5fe87c08f5520099d6.zip |
Fix for external generators extend Erb::Generators
HAML and probably other generators extend this class and invoke
filename_with_extensions with the old signature (without format).
This makes the second argument optional and defaults it to the #format
method which could be overridden as well.
Closes #14132.
Diffstat (limited to 'actionview/test/template/javascript_helper_test.rb')
0 files changed, 0 insertions, 0 deletions