提交 8b933517 编写于 作者: P Pratik Naik

Add config.ru to rails app generator

上级 2a7aca8e
require File.dirname(__FILE__) + '/config/environment'
use Rails::Rack::Static
run ActionController::Dispatcher.new
......@@ -46,6 +46,7 @@ def manifest
# Root
m.file "fresh_rakefile", "Rakefile"
m.file "README", "README"
m.file "config.ru", "config.ru"
# Application
m.template "helpers/application.rb", "app/controllers/application.rb", :assigns => { :app_name => @app_name, :app_secret => md5.hexdigest }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册