aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorFlorent Guilleux <florent2@gmail.com>2012-12-01 13:20:39 -0500
committerFlorent Guilleux <florent2@gmail.com>2012-12-01 13:20:39 -0500
commit90c887fa7d0c454b7533e208daefc342dea4d5f3 (patch)
tree330d9fd049b3fbbba80dbed5dbe0620d972d06d2 /actionpack
parent5ff59704f68d284381606a1b76e4ffcfd73b2cfa (diff)
downloadrails-90c887fa7d0c454b7533e208daefc342dea4d5f3.tar.gz
rails-90c887fa7d0c454b7533e208daefc342dea4d5f3.tar.bz2
rails-90c887fa7d0c454b7533e208daefc342dea4d5f3.zip
Remove trailing whitespaces
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/metal/mime_responds.rb2
-rw-r--r--actionpack/lib/action_dispatch/middleware/flash.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/mime_responds.rb b/actionpack/lib/action_controller/metal/mime_responds.rb
index 6bf306ac5b..68417c8960 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
diff --git a/actionpack/lib/action_dispatch/middleware/flash.rb b/actionpack/lib/action_dispatch/middleware/flash.rb
index 7b18c57420..7d812b9d53 100644
--- a/actionpack/lib/action_dispatch/middleware/flash.rb
+++ b/actionpack/lib/action_dispatch/middleware/flash.rb
@@ -82,7 +82,7 @@ module ActionDispatch
else
new
end
-
+
flash.tap(&:sweep)
end