view config/routes.rb @ 9:9ba8cf402e06

Forgot to add the .txt erb.
author Edho Arief <edho@myconan.net>
date Sun, 26 Aug 2012 11:59:33 -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