提交 ed491ae3 编写于 作者: H hollowspace

Fix slightly broken Markdown syntax in actionpack/CHANGELOG.md

上级 cfd7f4e9
...@@ -4,14 +4,14 @@ ...@@ -4,14 +4,14 @@
Example of using this for custom iphone views with an HTML fallback: Example of using this for custom iphone views with an HTML fallback:
class ApplicationController < ActionController::Base class ApplicationController < ActionController::Base
before_filter :adjust_format_for_iphone_with_html_fallback before_filter :adjust_format_for_iphone_with_html_fallback
private private
def adjust_format_for_iphone_with_html_fallback def adjust_format_for_iphone_with_html_fallback
request.formats = [ :iphone, :html ] if request.env["HTTP_USER_AGENT"][/iPhone/] request.formats = [ :iphone, :html ] if request.env["HTTP_USER_AGENT"][/iPhone/]
end end
end end
* Add Routing Concerns to declare common routes that can be reused inside * Add Routing Concerns to declare common routes that can be reused inside
...@@ -1000,11 +1000,11 @@ ...@@ -1000,11 +1000,11 @@
Before: Before:
translate('foo_html', :something => '<script>') # => "...<script>..." translate('foo_html', :something => '<script>') # => "...<script>..."
After: After:
translate('foo_html', :something => '<script>') # => "...&lt;script&gt;..." translate('foo_html', :something => '<script>') # => "...&lt;script&gt;..."
*Sergey Nartimov* *Sergey Nartimov*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册