Skip to content

Commit

Permalink
Fixing issue with hardcoded slash when routing to a group search.
Browse files Browse the repository at this point in the history
  • Loading branch information
blackjk3 committed Jul 7, 2015
1 parent b3abca1 commit b1bcd31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/studies/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
- p = request.query_parameters.dup
- @group.subgroups.sort_by{ |l| l.name }.each do |subgroup|
- p[:search][:q] = subgroup.name
= link_to subgroup.name, "/studies?#{p.to_query}", class: 'btn btn-school btn-subgroup'
= link_to subgroup.name, "studies?#{p.to_query}", class: 'btn btn-school btn-subgroup'
%hr.tighten
.clearfix
.pull-left.study-count
Expand Down

0 comments on commit b1bcd31

Please sign in to comment.