From cfa38b6c6593c46fe52f30455c7073e37da3ae97 Mon Sep 17 00:00:00 2001 From: Alban Peignier Date: Fri, 29 Jun 2012 09:16:46 +0200 Subject: Use controller as helpers in Map to create correct paths. Refs #4 --- app/controllers/connection_links_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/connection_links_controller.rb') diff --git a/app/controllers/connection_links_controller.rb b/app/controllers/connection_links_controller.rb index 3da6b1417..ab5cbf8ef 100644 --- a/app/controllers/connection_links_controller.rb +++ b/app/controllers/connection_links_controller.rb @@ -9,7 +9,7 @@ class ConnectionLinksController < ChouetteController respond_to :html, :xml, :json def show - @map = ConnectionLinkMap.new referential, resource + @map = ConnectionLinkMap.new(resource).with_helpers(self) show! end -- cgit v1.2.3