Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
rails
提交
72795d72
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,体验更适合开发者的 AI 搜索 >>
提交
72795d72
编写于
4月 27, 2012
作者:
M
Mark Rushakoff
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Code-format references to config settings
上级
dab6c3aa
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
7 addition
and
7 deletion
+7
-7
actionpack/lib/action_controller/metal/data_streaming.rb
actionpack/lib/action_controller/metal/data_streaming.rb
+1
-1
actionpack/lib/action_dispatch/middleware/cookies.rb
actionpack/lib/action_dispatch/middleware/cookies.rb
+1
-1
actionpack/lib/action_dispatch/middleware/reloader.rb
actionpack/lib/action_dispatch/middleware/reloader.rb
+1
-1
actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb
..._view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb
+1
-1
railties/lib/rails/engine.rb
railties/lib/rails/engine.rb
+1
-1
railties/lib/rails/railtie.rb
railties/lib/rails/railtie.rb
+1
-1
railties/lib/rails/railtie/configuration.rb
railties/lib/rails/railtie/configuration.rb
+1
-1
未找到文件。
actionpack/lib/action_controller/metal/data_streaming.rb
浏览文件 @
72795d72
...
...
@@ -16,7 +16,7 @@ module DataStreaming
protected
# Sends the file. This uses a server-appropriate method (such as X-Sendfile)
# via the Rack::Sendfile middleware. The header to use is set via
#
config.action_dispatch.x_sendfile_header
.
#
+config.action_dispatch.x_sendfile_header+
.
# Your server can also configure this for you by setting the X-Sendfile-Type header.
#
# Be careful to sanitize the path parameter if it is coming from a web
...
...
actionpack/lib/action_dispatch/middleware/cookies.rb
浏览文件 @
72795d72
...
...
@@ -225,7 +225,7 @@ def permanent
# cookie was tampered with by the user (or a 3rd party), an ActiveSupport::MessageVerifier::InvalidSignature exception will
# be raised.
#
# This jar requires that you set a suitable secret for the verification on your app's
config.secret_token
.
# This jar requires that you set a suitable secret for the verification on your app's
+config.secret_token+
.
#
# Example:
#
...
...
actionpack/lib/action_dispatch/middleware/reloader.rb
浏览文件 @
72795d72
...
...
@@ -18,7 +18,7 @@ module ActionDispatch
# classes before they are unloaded.
#
# By default, ActionDispatch::Reloader is included in the middleware stack
# only in the development environment; specifically, when
config.cache_classes
# only in the development environment; specifically, when
+config.cache_classes+
# is false. Callbacks may be registered even when it is not included in the
# middleware stack, but are executed only when <tt>ActionDispatch::Reloader.prepare!</tt>
# or <tt>ActionDispatch::Reloader.cleanup!</tt> are called manually.
...
...
actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb
浏览文件 @
72795d72
...
...
@@ -113,7 +113,7 @@ def stylesheet_url(source)
# == Caching multiple stylesheets into one
#
# You can also cache multiple stylesheets into one file, which requires less HTTP connections and can better be
# compressed by gzip (leading to faster transfers). Caching will only happen if
config.perform_caching
# compressed by gzip (leading to faster transfers). Caching will only happen if
+config.perform_caching+
# is set to true (which is the case by default for the Rails production environment, but not for the development
# environment). Examples:
#
...
...
railties/lib/rails/engine.rb
浏览文件 @
72795d72
...
...
@@ -332,7 +332,7 @@ module Rails
#
# == Loading priority
#
# In order to change engine's priority you can use
config.railties_order
in main application.
# In order to change engine's priority you can use
+config.railties_order+
in main application.
# It will affect the priority of loading views, helpers, assets and all the other files
# related to engine or application.
#
...
...
railties/lib/rails/railtie.rb
浏览文件 @
72795d72
...
...
@@ -22,7 +22,7 @@ module Rails
#
# * creating initializers
# * configuring a Rails framework for the application, like setting a generator
# *
adding config.*
keys to the environment
# *
+adding config.*+
keys to the environment
# * setting up a subscriber with ActiveSupport::Notifications
# * adding rake tasks
#
...
...
railties/lib/rails/railtie/configuration.rb
浏览文件 @
72795d72
...
...
@@ -43,7 +43,7 @@ def before_configuration(&block)
ActiveSupport
.
on_load
(
:before_configuration
,
:yield
=>
true
,
&
block
)
end
# Third configurable block to run. Does not run if
config.cache_classes
# Third configurable block to run. Does not run if
+config.cache_classes+
# set to false.
def
before_eager_load
(
&
block
)
ActiveSupport
.
on_load
(
:before_eager_load
,
:yield
=>
true
,
&
block
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录