Module: Patches::SprocketsOutputPathForAssets

Defined in:
lib/patches/sprockets_output_path_for_assets.rb

Instance Method Summary collapse

Instance Method Details

#outputObject



19
20
21
22
23
24
25
# File 'lib/patches/sprockets_output_path_for_assets.rb', line 19

def output
  if app
    File.join(app.paths["public"].first, app.config.assets.prefix)
  else
    super
  end
end