diff options
author | claudiob <claudiob@gmail.com> | 2014-10-29 18:18:48 -0700 |
---|---|---|
committer | claudiob <claudiob@gmail.com> | 2014-10-30 08:48:32 -0700 |
commit | 64b09823e6a6b1e19218d3fd815bb65cd2e44f1e (patch) | |
tree | c7eefcd011dade1060557a77dae72283851f39ee /actionpack/lib | |
parent | 7cf4d5465deb48f448000e9b484a150261e1054f (diff) | |
download | rails-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.rb | 2 |
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 |