lib/playmo/recipes/layout_recipe.rb in playmo-0.0.11 vs lib/playmo/recipes/layout_recipe.rb in playmo-0.0.12

- old
+ new

@@ -3,12 +3,11 @@ class LayoutRecipe < Playmo::Recipe source_root File.expand_path('../templates/layout_recipe', __FILE__) def setup silently do - remove_file 'app/views/layouts/application.html.erb' - Event.events.listen(:after_install) do |event_data| + remove_file 'app/views/layouts/application.html.erb' generate :layout, "application #{retrieve(:markup)}" end end end end