Skip to content

Instantly share code, notes, and snippets.

@chintanparikh
Created June 10, 2012 09:31
Show Gist options
  • Save chintanparikh/2904633 to your computer and use it in GitHub Desktop.
Save chintanparikh/2904633 to your computer and use it in GitHub Desktop.
when /^the category section page for "(.*)"$/i
category = Category.find_by_name($1)
category_sections_path(category)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment