Skip to content

Commit dfae4c5

Browse files
committed
Remove unused method
1 parent 230b7e1 commit dfae4c5

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

lib/sprockets/rails/helper.rb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -261,19 +261,6 @@ def legacy_debug_path(path, debug)
261261
path
262262
end
263263
end
264-
265-
private
266-
# Emits a deprecation warning when asset pipeline
267-
# is used with an asset that is not part of the pipeline.
268-
#
269-
# Attempts to determine proper method name based on caller.
270-
def deprecate_invalid_asset_lookup(name, call_stack)
271-
message = "The asset #{ name.inspect } you are looking for is not present in the asset pipeline.\n"
272-
message << "The public fallback behavior is being deprecated and will be removed.\n"
273-
message << "pass in `skip_pipeline: true` instead.\n"
274-
275-
ActiveSupport::Deprecation.warn(message, call_stack)
276-
end
277264
end
278265

279266
# Use a separate module since Helper is mixed in and we needn't pollute

0 commit comments

Comments
 (0)