Skip to content

Commit b5de852

Browse files
author
Rafael Mendonça França
committed
Support Ruby 1.8
1 parent 5370346 commit b5de852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_railtie.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def test_version_fragments_with_string_asset_host
127127
def test_version_fragments_with_proc_asset_host
128128
app.configure do
129129
config.assets.version = 'v2'
130-
config.action_controller.asset_host = ->(path, request) {
130+
config.action_controller.asset_host = lambda { |path, request|
131131
'http://some-cdn.com'
132132
}
133133
config.action_controller.relative_url_root = 'some-path'

0 commit comments

Comments
 (0)