From 69fd3f0b602715ecabce35b768fc34226424c150 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 26 Feb 2015 16:41:51 +1100 Subject: [PATCH] Fix link to group pages if someone enters "/groups/" instead of "/group" --- app/views/groups/index.html.haml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/groups/index.html.haml b/app/views/groups/index.html.haml index 5865823cd9..262e188e3c 100644 --- a/app/views/groups/index.html.haml +++ b/app/views/groups/index.html.haml @@ -7,7 +7,6 @@ #active-table-search.row.pad-top .small-12.columns %h1 Groups / regions - / TODO: Maikel this search input still doesn't work. %p %input.animate-show{type: :text, "ng-model" => "query", @@ -21,7 +20,7 @@ .row.pad-top{bindonce: true} .small-12.medium-6.columns .groups-header - %a{"ng-href" => "groups/{{group.id}}"} + %a{"ng-href" => "/groups/{{group.id}}"} %i.ofn-i_035-groups %span.group-name {{ group.name }}