Skip to content

Instantly share code, notes, and snippets.

@andyhawthorne
Created November 25, 2012 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andyhawthorne/4145573 to your computer and use it in GitHub Desktop.
Save andyhawthorne/4145573 to your computer and use it in GitHub Desktop.
get '/' do
@categories = Category.all(:order => [ :id.asc ])
erb :home
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment