view config/routes.rb @ 47:e9b485638f93

No need to display notice in show.
author Edho Arief <edho@myconan.net>
date Thu, 04 Oct 2012 03:01:24 +0700
parents a81fb558f954
children 1787e1fd3d16
line wrap: on
line source

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