Last active
August 29, 2015 13:56
-
-
Save firedev/8840403 to your computer and use it in GitHub Desktop.
Provides a `nav_link_to_controller` view helper method that works like `nav_link_to` https://gist.github.com/firedev/5308768 but also adds `selected` CSS class if the link equals current page or handled by the same controller.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment