Avoid generating app/views/layouts/application.html.erb on mountable engines, just generate the namespaced one

This commit is contained in:
Santiago Pastorino
2011-08-05 21:28:14 -03:00
parent 5bc6285cfe
commit 201e41e11a
2 changed files with 0 additions and 2 deletions

View File

@@ -11,8 +11,6 @@ module Rails
def app
if mountable?
directory "app"
template "app/views/layouts/application.html.erb.tt",
"app/views/layouts/#{name}/application.html.erb"
empty_directory_with_gitkeep "app/assets/images/#{name}"
elsif full?
empty_directory_with_gitkeep "app/models"