view config/routes.rb @ 24:a8cdf1f45446

Add newline/eol before hashing the paste.
author Edho Arief <edho@myconan.net>
date Wed, 05 Sep 2012 14:47:35 +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