aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhollowspace <hollowstarx@gmail.com>2012-08-17 06:53:35 +0400
committerhollowspace <hollowstarx@gmail.com>2012-08-17 10:33:45 +0400
commited491ae3ef5269d42bea9c438fc5577edf7f19ed (patch)
tree41b22f2d267d850ee6b1671e5f57d61f685b048f
parentcfd7f4e9a09df137f1e78ae7194e969e4bacfd87 (diff)
downloadrails-ed491ae3ef5269d42bea9c438fc5577edf7f19ed.tar.gz
rails-ed491ae3ef5269d42bea9c438fc5577edf7f19ed.tar.bz2
rails-ed491ae3ef5269d42bea9c438fc5577edf7f19ed.zip
Fix slightly broken Markdown syntax in actionpack/CHANGELOG.md
-rw-r--r--actionpack/CHANGELOG.md20
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>') # => "...&lt;script&gt;..."
+ translate('foo_html', :something => '<script>') # => "...&lt;script&gt;..."
*Sergey Nartimov*