diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-27 07:40:13 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-27 07:40:13 -0700 |
commit | f3807a8ce6de5ac80f3c24c12e493f0ddce2aad0 (patch) | |
tree | d78918fa143c377a487b1ea9bc207c5e58f44527 /actionpack/lib | |
parent | 67166c4e545952950a4bb724f6c4b9bd869e43bb (diff) | |
parent | 4d7f53379a0dc59f2f33a4b904a06c047580a691 (diff) | |
download | rails-f3807a8ce6de5ac80f3c24c12e493f0ddce2aad0.tar.gz rails-f3807a8ce6de5ac80f3c24c12e493f0ddce2aad0.tar.bz2 rails-f3807a8ce6de5ac80f3c24c12e493f0ddce2aad0.zip |
Merge pull request #8043 from senny/remove_trailing_whitespace_in_actionpack
remove trailing whitespace within actionpack [ci skip]
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/abstract_controller/rendering.rb | 2 | ||||
-rw-r--r-- | actionpack/lib/action_controller/metal/mime_responds.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/abstract_controller/rendering.rb b/actionpack/lib/abstract_controller/rendering.rb index 3da2834af0..4b984d0558 100644 --- a/actionpack/lib/abstract_controller/rendering.rb +++ b/actionpack/lib/abstract_controller/rendering.rb @@ -51,7 +51,7 @@ module AbstractController @view_context_class ||= begin routes = respond_to?(:_routes) && _routes helpers = respond_to?(:_helpers) && _helpers - + Class.new(ActionView::Base) do if routes include routes.url_helpers diff --git a/actionpack/lib/action_controller/metal/mime_responds.rb b/actionpack/lib/action_controller/metal/mime_responds.rb index 18ae2c3bfc..d86e8092c4 100644 --- a/actionpack/lib/action_controller/metal/mime_responds.rb +++ b/actionpack/lib/action_controller/metal/mime_responds.rb @@ -259,7 +259,7 @@ module ActionController #:nodoc: # * for other requests - i.e. data formats such as xml, json, csv etc, if # the resource passed to +respond_with+ responds to <code>to_<format></code>, # the method attempts to render the resource in the requested format - # directly, e.g. for an xml request, the response is equivalent to calling + # directly, e.g. for an xml request, the response is equivalent to calling # <code>render :xml => resource</code>. # # === Nested resources |