aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2012-10-27 16:03:18 +0200
committerYves Senn <yves.senn@gmail.com>2012-10-27 16:03:18 +0200
commit4d7f53379a0dc59f2f33a4b904a06c047580a691 (patch)
treed78918fa143c377a487b1ea9bc207c5e58f44527 /actionpack/lib
parent67166c4e545952950a4bb724f6c4b9bd869e43bb (diff)
downloadrails-4d7f53379a0dc59f2f33a4b904a06c047580a691.tar.gz
rails-4d7f53379a0dc59f2f33a4b904a06c047580a691.tar.bz2
rails-4d7f53379a0dc59f2f33a4b904a06c047580a691.zip
cleanup, remove trailing whitespace within actionpack
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/abstract_controller/rendering.rb2
-rw-r--r--actionpack/lib/action_controller/metal/mime_responds.rb2
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