view config/routes.rb @ 10:56c17679105b

Moar pastes.
author Edho Arief <edho@myconan.net>
date Sun, 26 Aug 2012 11:59:55 -0700
parents 418105d973f1
children a81fb558f954
line wrap: on
line source

Zeropaste::Application.routes.draw do
  resources :pastes, :only => [:show, :new, :create], :path => '/'
  root :to => 'pastes#new'
end