Use thor shorthand for indicating that application.html.erb is a template

This commit is contained in:
Jeremy Kemper
2010-04-09 10:26:49 -07:00
parent ec8e747960
commit ad22017bdc
3 changed files with 1 additions and 6 deletions

View File

@@ -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