templates/haml_generator.rb in bear-0.0.1 vs templates/haml_generator.rb in bear-0.0.2
- old
+ new
@@ -1,5 +1,5 @@
-inject_into_file "config/application.rb", :after => "# Configure the default encoding used in templates for Ruby 1.9.\n" do
+inject_into_file "config/application.rb", :after => "class Application < Rails::Application\n" do
<<-RUBY
config.generators do |g|
g.template_engine :haml
end
RUBY