class ForemanRemoteExecution::Engine
Public Class Methods
assets_to_precompile()
click to toggle source
Precompile any JS or CSS files under app/assets/ If requiring files from each other, list them explicitly here to avoid precompiling the same content twice.
# File lib/foreman_remote_execution/engine.rb, line 10 def self.assets_to_precompile assets = Dir.chdir(root) do Dir['app/assets/javascripts/**/*'].map do |f| f.split(File::SEPARATOR, 4).last end end assets << 'foreman_remote_execution/foreman_remote_execution.css' end