diff config/routes.rb @ 40:a81fb558f954

root_path is new_paste_path. Not aliased because it's :effort:.
author Edho Arief <edho@myconan.net>
date Thu, 04 Oct 2012 02:09:46 +0700
parents 418105d973f1
children 1787e1fd3d16
line wrap: on
line diff
--- a/config/routes.rb	Thu Oct 04 02:08:11 2012 +0700
+++ b/config/routes.rb	Thu Oct 04 02:09:46 2012 +0700
@@ -1,4 +1,4 @@
 Zeropaste::Application.routes.draw do
-  resources :pastes, :only => [:show, :new, :create], :path => '/'
+  resources :pastes, :only => [:show, :create], :path => '/'
   root :to => 'pastes#new'
 end