Skip to content

Commit

Permalink
fix issue with precompiling favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotjordan committed Jan 26, 2016
1 parent 2e5a779 commit d4db1a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/generators/geoblacklight/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ def install_jettywrapper
def assets
copy_file 'geoblacklight.css.scss', 'app/assets/stylesheets/geoblacklight.css.scss'
copy_file 'geoblacklight.js', 'app/assets/javascripts/geoblacklight.js'

append_to_file 'config/initializers/assets.rb',
"\nRails.application.config.assets.precompile += %w( favicon.ico )\n"
end

def create_blacklight_catalog
Expand Down

0 comments on commit d4db1a8

Please sign in to comment.