Skip to content

Instantly share code, notes, and snippets.

@doombongo
Created November 30, 2012 08:08
Show Gist options
  • Save doombongo/4174446 to your computer and use it in GitHub Desktop.
Save doombongo/4174446 to your computer and use it in GitHub Desktop.
module ApplicationHelper
def cp(*path)
"current" if current_page?(path)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment