Skip to content

Instantly share code, notes, and snippets.

@jdkealy
Created October 29, 2011 09:22
Show Gist options
  • Save jdkealy/1324266 to your computer and use it in GitHub Desktop.
Save jdkealy/1324266 to your computer and use it in GitHub Desktop.
Rails.application.routes.draw do
match '/blog' => 'cms#blog'
match '/blog/:id' => 'cms#post'
match '/categories/:id' => 'cms#category'
match '/tags/:id' => 'cms#tag'
match '/:id' => 'cms#page'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment