Skip to content

Instantly share code, notes, and snippets.

@accuser
Created September 20, 2010 11:28
Show Gist options
  • Save accuser/587764 to your computer and use it in GitHub Desktop.
Save accuser/587764 to your computer and use it in GitHub Desktop.
# config/routes.rb
Example::Application.routes.draw do
resources :posts, :slug => true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment