diff options
author | wycats <wycats@gmail.com> | 2010-03-18 22:21:25 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-03-18 22:21:25 -0700 |
commit | 995f57033f5a36d9ddd3aa65f0f01cccbb6baf6e (patch) | |
tree | 24cb7558919e8ccdb8142c3bdbf0ac5710468da0 /actionpack/lib/action_dispatch/routing | |
parent | a5d80f84d269bba6b0f0802612f29df1ee09d720 (diff) | |
download | rails-995f57033f5a36d9ddd3aa65f0f01cccbb6baf6e.tar.gz rails-995f57033f5a36d9ddd3aa65f0f01cccbb6baf6e.tar.bz2 rails-995f57033f5a36d9ddd3aa65f0f01cccbb6baf6e.zip |
We seem to have removed the URL helpers from ActionView subclasses...
Diffstat (limited to 'actionpack/lib/action_dispatch/routing')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index 8936d7659a..52f3fd1610 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -258,6 +258,7 @@ module ActionDispatch # Yes plz - JP included do routes.install_helpers(self) + singleton_class.send(:define_method, :_router) { routes } end define_method(:_router) { routes } |