Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
rails
提交
bb05d991
R
rails
项目概览
张重言
/
rails
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rails
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bb05d991
编写于
8月 20, 2012
作者:
F
Francesco Rodriguez
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix punctuation in config templates
上级
6a5d1c76
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
12 addition
and
12 deletion
+12
-12
railties/lib/rails/generators/rails/app/templates/config/application.rb
...ails/generators/rails/app/templates/config/application.rb
+1
-1
railties/lib/rails/generators/rails/app/templates/config/environment.rb
...ails/generators/rails/app/templates/config/environment.rb
+2
-2
railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt
...rails/app/templates/config/environments/development.rb.tt
+1
-1
railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
.../rails/app/templates/config/environments/production.rb.tt
+2
-2
railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt
...rators/rails/app/templates/config/environments/test.rb.tt
+1
-1
railties/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt
...ils/app/templates/config/initializers/session_store.rb.tt
+1
-1
railties/lib/rails/generators/rails/app/templates/config/routes.rb
...lib/rails/generators/rails/app/templates/config/routes.rb
+4
-4
未找到文件。
railties/lib/rails/generators/rails/app/templates/config/application.rb
浏览文件 @
bb05d991
...
...
@@ -60,7 +60,7 @@ class Application < Rails::Application
config.assets.version = '1.0'
<% end -%>
# Enable app-wide asynchronous ActionMailer
# Enable app-wide asynchronous ActionMailer
.
# config.action_mailer.async = true
end
end
railties/lib/rails/generators/rails/app/templates/config/environment.rb
浏览文件 @
bb05d991
# Load the rails application
# Load the rails application
.
require
File
.
expand_path
(
'../application'
,
__FILE__
)
# Initialize the rails application
# Initialize the rails application
.
<
%= app_const %>.initialize!
railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt
浏览文件 @
bb05d991
...
...
@@ -39,6 +39,6 @@
config.assets.debug = true
<%- end -%>
# In development, use an in-memory queue for queueing
# In development, use an in-memory queue for queueing
.
config.queue = Rails::Queueing::Queue
end
railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
浏览文件 @
bb05d991
...
...
@@ -71,10 +71,10 @@
# Disable automatic flushing of the log to improve performance.
# config.autoflush_log = false
# Use default logging formatter so that PID and timestamp are not suppressed
# Use default logging formatter so that PID and timestamp are not suppressed
.
config.log_formatter = ::Logger::Formatter.new
# Default the production mode queue to an in-memory queue. You will probably
# want to replace this with an out-of-process queueing solution
# want to replace this with an out-of-process queueing solution
.
config.queue = Rails::Queueing::Queue
end
railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt
浏览文件 @
bb05d991
...
...
@@ -34,6 +34,6 @@
# Print deprecation notices to the stderr.
config.active_support.deprecation = :stderr
# Use the testing queue
# Use the testing queue
.
config.queue = Rails::Queueing::TestQueue
end
railties/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt
浏览文件 @
bb05d991
...
...
@@ -4,5 +4,5 @@
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rails generate session_migration")
# (create the session table with "rails generate session_migration")
.
# <%= app_const %>.config.session_store :active_record_store
railties/lib/rails/generators/rails/app/templates/config/routes.rb
浏览文件 @
bb05d991
...
...
@@ -8,11 +8,11 @@
# Sample of regular route:
# get 'products/:id' =
>
'catalog#view'
# Keep in mind you can assign values other than :controller and :action
# Keep in mind you can assign values other than :controller and :action
.
# Sample of named route:
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
# This route can be invoked with purchase_url(id: product.id)
# This route can be invoked with purchase_url(id: product.id)
.
# Sample resource route (maps HTTP verbs to controller actions automatically):
# resources :products
...
...
@@ -35,7 +35,7 @@
# resource :seller
# end
# Sample resource route with more complex sub-resources
# Sample resource route with more complex sub-resources
:
# resources :products do
# resources :comments
# resources :sales do
...
...
@@ -51,5 +51,5 @@
# end
# See how all your routes lay out with "rake routes"
# See how all your routes lay out with "rake routes"
.
end
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录