aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorclaudiob <claudiob@gmail.com>2014-10-29 18:18:48 -0700
committerclaudiob <claudiob@gmail.com>2014-10-30 08:48:32 -0700
commit64b09823e6a6b1e19218d3fd815bb65cd2e44f1e (patch)
treec7eefcd011dade1060557a77dae72283851f39ee /actionpack/lib
parent7cf4d5465deb48f448000e9b484a150261e1054f (diff)
downloadrails-64b09823e6a6b1e19218d3fd815bb65cd2e44f1e.tar.gz
rails-64b09823e6a6b1e19218d3fd815bb65cd2e44f1e.tar.bz2
rails-64b09823e6a6b1e19218d3fd815bb65cd2e44f1e.zip
Remove redundant `to_s` in interpolation
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_dispatch/routing/inspector.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/inspector.rb b/actionpack/lib/action_dispatch/routing/inspector.rb
index ea3b2f419d..cfe2237512 100644
--- a/actionpack/lib/action_dispatch/routing/inspector.rb
+++ b/actionpack/lib/action_dispatch/routing/inspector.rb
@@ -48,7 +48,7 @@ module ActionDispatch
def reqs
@reqs ||= begin
reqs = endpoint
- reqs += " #{constraints.to_s}" unless constraints.empty?
+ reqs += " #{constraints}" unless constraints.empty?
reqs
end
end