mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Use thor shorthand for indicating that application.html.erb is a template
This commit is contained in:
@@ -78,12 +78,7 @@ module Rails::Generators
|
||||
end
|
||||
|
||||
def create_app_files
|
||||
directory "app/controllers"
|
||||
directory "app/helpers"
|
||||
directory "app/models"
|
||||
inside "app/views/layouts" do
|
||||
template "application.html.erb"
|
||||
end
|
||||
directory 'app'
|
||||
end
|
||||
|
||||
def create_config_files
|
||||
|
||||
Reference in New Issue
Block a user