diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-08-17 07:47:04 -0700 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-08-17 07:47:04 -0700 |
commit | cbbf6bf87c9220c3a21f90c2dcdeea044f583d54 (patch) | |
tree | d3f4746c38e1091169a8f8df7cef7b8982975f4a /actionpack | |
parent | c6bbc10faea55df72000a82a2f6767278a76f121 (diff) | |
parent | ed491ae3ef5269d42bea9c438fc5577edf7f19ed (diff) | |
download | rails-cbbf6bf87c9220c3a21f90c2dcdeea044f583d54.tar.gz rails-cbbf6bf87c9220c3a21f90c2dcdeea044f583d54.tar.bz2 rails-cbbf6bf87c9220c3a21f90c2dcdeea044f583d54.zip |
Merge pull request #7373 from hollowspace/patch-1
Fix slightly broken Markdown syntax in actionpack/CHANGELOG.md
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/CHANGELOG.md | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 516fcbe62f..95fc79b791 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -4,14 +4,14 @@ Example of using this for custom iphone views with an HTML fallback: - class ApplicationController < ActionController::Base - before_filter :adjust_format_for_iphone_with_html_fallback - - private - def adjust_format_for_iphone_with_html_fallback - request.formats = [ :iphone, :html ] if request.env["HTTP_USER_AGENT"][/iPhone/] - end - end + class ApplicationController < ActionController::Base + before_filter :adjust_format_for_iphone_with_html_fallback + + private + def adjust_format_for_iphone_with_html_fallback + request.formats = [ :iphone, :html ] if request.env["HTTP_USER_AGENT"][/iPhone/] + end + end * Add Routing Concerns to declare common routes that can be reused inside @@ -1000,11 +1000,11 @@ Before: - translate('foo_html', :something => '<script>') # => "...<script>..." + translate('foo_html', :something => '<script>') # => "...<script>..." After: - translate('foo_html', :something => '<script>') # => "...<script>..." + translate('foo_html', :something => '<script>') # => "...<script>..." *Sergey Nartimov* |