aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorSam Pohlenz <sam@sampohlenz.com>2012-09-09 16:29:21 +0930
committerSam Pohlenz <sam@sampohlenz.com>2012-09-09 16:29:21 +0930
commita79f8bd25230bda16e3c97d168efa38373ec8749 (patch)
tree445ece03a781638fd8bfa43f29009ba29edf60be /actionpack/lib
parent5d264f229c3798367e445d1ca02f3910ad9db547 (diff)
downloadrails-a79f8bd25230bda16e3c97d168efa38373ec8749.tar.gz
rails-a79f8bd25230bda16e3c97d168efa38373ec8749.tar.bz2
rails-a79f8bd25230bda16e3c97d168efa38373ec8749.zip
Use internal instance variable naming scheme for mounted URL helper proxies
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb
index 1fe40d8458..060d0bfa2f 100644
--- a/actionpack/lib/action_dispatch/routing/route_set.rb
+++ b/actionpack/lib/action_dispatch/routing/route_set.rb
@@ -319,7 +319,7 @@ module ActionDispatch
MountedHelpers.class_eval(<<-RUBY, __FILE__, __LINE__ + 1)
def #{name}
- @#{name} ||= _#{name}
+ @_#{name} ||= _#{name}
end
RUBY
end