lib/stationed/generators/plugins/layout.rb in stationed-0.3.0 vs lib/stationed/generators/plugins/layout.rb in stationed-0.4.0
- old
+ new
@@ -9,10 +9,10 @@
desc: 'Add a generic Haml application layout file'
end
def finish_template
return super unless options[:layout]
- remove_file 'app/views/layouts/application.html.haml'
+ remove_file 'app/views/layouts/application.html.erb'
copy_file 'application.html.haml', 'app/views/layouts/application.html.haml'
super
end
end
end