1. Kaspar Schiess
  2. nanomsg

Source

nanomsg / web / helpers / menu.rb

1
2
3
4
5
6
7
8
9
module Menu
  def menu_link name, link
    if link == current_page.request_path
      content_tag('div', name, class: 'col-md-2 menu-item active')
    else
      content_tag('div', link_to(name, link), class: 'col-md-2 menu-item')
    end
  end
end