Project

General

Profile

Actions

Bug #20543

closed

Override asset_path for sprockets in task

Added by Daniel Lobato Garcia about 7 years ago. Updated about 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 #1

Updated by The Foreman Bot about 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/4734 added
Actions #2

Updated by Anonymous about 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Marek Hulán about 7 years ago

  • Translation missing: en.field_release set to 240
Actions

Also available in: Atom PDF