lib/template_framework/recipes/slim.rb in rails_templater-0.2.1 vs lib/template_framework/recipes/slim.rb in rails_templater-0.3.0
- old
+ new
@@ -1,6 +1,6 @@
say "\nReplacing ERb with Slim as your Template Engine\n", Thor::Shell::Color::YELLOW
-gem 'slim', :require => 'slim/rails'
+gem 'slim-rails'
remove_file 'app/views/layouts/application.html.erb'
create_file 'app/views/layouts/application.html.slim', templater.load_template('app/views/layouts/application.html.slim', 'slim')