mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Avoid generating app/views/layouts/application.html.erb on mountable engines, just generate the namespaced one
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user