Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Avoid generating app/views/layouts/application.html.erb on mountable …

…engines, just generate the namespaced one
  • Loading branch information...
commit 7af63a98e70a4667a451e5a0c59217cd0292c4e0 1 parent 216d79e
@spastorino spastorino authored
View
2  railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb
@@ -11,8 +11,6 @@ def rakefile
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"
View
0  ...app/views/layouts/application.html.erb.tt → ...ws/layouts/%name%/application.html.erb.tt
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.