comparison config/routes.rb @ 2:42de15334db1

Added the pastes.
author Edho Arief <edho@myconan.net>
date Sun, 26 Aug 2012 11:28:23 -0700
parents 4aa8194a1733
children 23178d3de796
comparison
equal deleted inserted replaced
1:49c0949ee47e 2:42de15334db1
1 Zeropaste::Application.routes.draw do 1 Zeropaste::Application.routes.draw do
2 resources :pastes
3
2 # The priority is based upon order of creation: 4 # The priority is based upon order of creation:
3 # first created -> highest priority. 5 # first created -> highest priority.
4 6
5 # Sample of regular route: 7 # Sample of regular route:
6 # match 'products/:id' => 'catalog#view' 8 # match 'products/:id' => 'catalog#view'