lib/generators/rafters/install/install_generator.rb in rafters-0.1.0 vs lib/generators/rafters/install/install_generator.rb in rafters-0.1.1
- old
+ new
@@ -8,16 +8,8 @@
def create_directories
empty_directory "app/components"
end
def add_asset_requires
- inject_into_file "app/assets/stylesheets/application.css", after: "*= require_tree .\n" do <<-'RUBY'
- *= require_components
- RUBY
- end
-
- inject_into_file "app/assets/javascripts/application.js", after: "//= require_tree .\n" do <<-'RUBY'
-//= require_components
- RUBY
- end
+ say_status("[instructions]", "Please add //= require_components to your application.css and application.js files")
end
end