view config/routes.rb @ 8:418105d973f1

Simplified routes.
author Edho Arief <edho@myconan.net>
date Sun, 26 Aug 2012 11:49:54 -0700
parents 23178d3de796
children a81fb558f954
line wrap: on
line source

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