Sha256: bd930bca1503c2dfbadbe8025595cf09ad6aaf3851f37d734a571252d058cf1a
Contents?: true
Size: 904 Bytes
Versions: 6
Compression:
Stored size: 904 Bytes
Contents
# Copy BlacklightAdvancedSearch assets to public folder in current app. # If you want to do this on application startup, you can # add this next line to your one of your environment files -- # generally you'd only want to do this in 'development', and can # add it to environments/development.rb: # require File.join(BlacklightAdvancedSearch.root, "lib", "generators", "blacklight", "assets_generator.rb") # BlacklightAdvancedSearch::AssetsGenerator.start(["--force", "--quiet"]) # Need the requires here so we can call the generator from environment.rb # as suggested above. require 'rails/generators' require 'rails/generators/base' module BlacklightAdvancedSearch class AssetsGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def assets directory("public/stylesheets") directory("public/javascripts") end end end
Version data entries
6 entries across 6 versions & 1 rubygems