From 68f26ccfbfe25551c5cb9b1e3acdc1e19e457918 Mon Sep 17 00:00:00 2001 From: Eduardo Martinez Echevarria Date: Sun, 11 Jun 2017 13:28:16 +0200 Subject: [PATCH] Allow the use of a custom path method in suggest partial The path to investments in lists is generated with a helper method named namespaced_budget_investments_path. This allows its use in the shared suggest partial. Also, as nested resource in routes, link_to("title", investments) fails. --- app/views/shared/_suggest.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/_suggest.html.erb b/app/views/shared/_suggest.html.erb index 03d14296c..d50f67056 100644 --- a/app/views/shared/_suggest.html.erb +++ b/app/views/shared/_suggest.html.erb @@ -9,7 +9,7 @@