From 995f57033f5a36d9ddd3aa65f0f01cccbb6baf6e Mon Sep 17 00:00:00 2001 From: wycats Date: Thu, 18 Mar 2010 22:21:25 -0700 Subject: We seem to have removed the URL helpers from ActionView subclasses... --- actionpack/lib/action_dispatch/routing/route_set.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionpack/lib/action_dispatch') 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 } -- cgit v1.2.3