Project

General

Profile

Actions

Bug #20543

closed

Override asset_path for sprockets in task

Added by Daniel Lobato Garcia over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Sprockets runs on its own context in the task plugin_assets.rake since #20287. This means that the asset paths are not visible to it immediately, the way we provide that functionality is by overriding a method in Sprockets that gets the paths from the Rails app since we're on Rake context.

Actions

Also available in: Atom PDF