Fix link to group pages if someone enters "/groups/" instead of "/group"

This commit is contained in:
Maikel Linke
2015-02-26 16:41:51 +11:00
parent ff4bd449a2
commit 69fd3f0b60

View File

@@ -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 }}