Skip to content

Commit

Permalink
make anchor links work again, fixes #264
Browse files Browse the repository at this point in the history
  • Loading branch information
codez committed May 23, 2017
1 parent e31ffd8 commit d40ff7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/event/lists/_nav_left_courses.html.haml
@@ -1,7 +1,7 @@
%ul.nav-left-list
- if kind_used?
- @grouped_events.keys.each do |kind|
%li= link_to(kind, "##{CGI.escape(kind)}")
%li= link_to(kind, "##{CGI.escape(kind)}", data: { turbolinks: false })
- else
= render 'nav_left_events'

2 changes: 1 addition & 1 deletion app/views/event/lists/_nav_left_events.html.haml
Expand Up @@ -2,4 +2,4 @@
- @grouped_events.keys.collect(&:split).group_by(&:last).each do |year, months|
%li.divider= year
- months.each do |month, year|
%li= link_to(month, "##{CGI.escape("#{month} #{year}")}")
%li= link_to(month, "##{CGI.escape("#{month} #{year}")}", data: { turbolinks: false })

0 comments on commit d40ff7a

Please sign in to comment.