We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5370346 commit b5de852Copy full SHA for b5de852
test/test_railtie.rb
@@ -127,7 +127,7 @@ def test_version_fragments_with_string_asset_host
127
def test_version_fragments_with_proc_asset_host
128
app.configure do
129
config.assets.version = 'v2'
130
- config.action_controller.asset_host = ->(path, request) {
+ config.action_controller.asset_host = lambda { |path, request|
131
'http://some-cdn.com'
132
}
133
config.action_controller.relative_url_root = 'some-path'
0 commit comments