lib/sinatra/cli/generator.rb in sinatra-cli-0.0.1 vs lib/sinatra/cli/generator.rb in sinatra-cli-0.0.2
- old
+ new
@@ -14,11 +14,11 @@
def create_models_dir
keep_file "#{app_name}/app/models"
end
def create_views_dir
- template "app/views/index.erb", "#{app_name}/views/index.erb"
- template "app/views/layout.erb", "#{app_name}/views/layout.erb"
+ template "app/views/index.erb", "#{app_name}/app/views/index.erb"
+ template "app/views/layout.erb", "#{app_name}/app/views/layout.erb"
end
def create_database_config
template "config/database.yml.erb", "#{app_name}/config/database.yml"
end