Skip to content

Commit 1af59d2

Browse files
committed
Change option name to skip_pipeline
1 parent d00b8ed commit 1af59d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/sprockets/rails/helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def compute_asset_path(path, options = {})
8383

8484
if respond_to?(:public_compute_asset_path)
8585
message << "The public fallback behavior is being deprecaed and will be removed.\n"
86-
message << "pass in `public_folder: true` instead.\n"
86+
message << "pass in `skip_pipeline: true` instead.\n"
8787

8888
call_stack = respond_to?(:caller_locations) ? caller_locations : caller
8989
ActiveSupport::Deprecation.warn(message, call_stack)
@@ -267,7 +267,7 @@ def legacy_debug_path(path, debug)
267267
def deprecate_invalid_asset_lookup(name, call_stack)
268268
message = "The asset #{ name.inspect } you are looking for is not present in the asset pipeline.\n"
269269
message << "The public fallback behavior is being deprecated and will be removed.\n"
270-
message << "pass in `public_folder: true` instead.\n"
270+
message << "pass in `skip_pipeline: true` instead.\n"
271271

272272
ActiveSupport::Deprecation.warn(message, call_stack)
273273
end

0 commit comments

Comments
 (0)