lib/generators/hydra/assets_generator.rb in hydra-head-3.1.4 vs lib/generators/hydra/assets_generator.rb in hydra-head-3.1.5
- old
+ new
@@ -11,10 +11,10 @@
# Need the requires here so we can call the generator from environment.rb
# as suggested above.
require 'rails/generators'
require 'rails/generators/base'
module Hydra
- class Assets < Rails::Generators::Base
+ class AssetsGenerator < Rails::Generators::Base
source_root File.expand_path('../templates', __FILE__)
def assets
if use_asset_pipeline?
insert_into_file "app/assets/stylesheets/application.css", :after => " *= require_self" do