Skip to content

Commit

Permalink
Workaround for
Browse files Browse the repository at this point in the history
  • Loading branch information
jfly committed Nov 5, 2015
1 parent 22e183b commit 0ae2c16
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 1 deletion.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/* Selection Border */
.jcrop-vline,
.jcrop-hline {
background: #ffffff url("Jcrop.gif");
background: #ffffff url('<%= asset_path "Jcrop.gif" %>');
font-size: 0;
position: absolute;
}
Expand Down
6 changes: 6 additions & 0 deletions lib/carrierwave/crop/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
module CarrierWave
module Crop
class Engine < ::Rails::Engine
initializer 'bootstrap-sass.assets.precompile' do |app|
%w(stylesheets javascripts images).each do |sub|
app.config.assets.paths << root.join('assets', sub).to_s
end
#<<<app.config.assets.precompile += %w( Jcrop.gif )
end
end
end
end

0 comments on commit 0ae2c16

Please sign in to comment.