diff options
| -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* | 
