diff options
author | Sam Pohlenz <sam@sampohlenz.com> | 2012-09-09 16:29:21 +0930 |
---|---|---|
committer | Sam Pohlenz <sam@sampohlenz.com> | 2012-09-09 16:29:21 +0930 |
commit | a79f8bd25230bda16e3c97d168efa38373ec8749 (patch) | |
tree | 445ece03a781638fd8bfa43f29009ba29edf60be /actionpack/lib/action_dispatch | |
parent | 5d264f229c3798367e445d1ca02f3910ad9db547 (diff) | |
download | rails-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/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 2 |
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 |