Mercurial > zeropaste
comparison 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 |
comparison
equal
deleted
inserted
replaced
39:a930c717654c | 40:a81fb558f954 |
---|---|
1 Zeropaste::Application.routes.draw do | 1 Zeropaste::Application.routes.draw do |
2 resources :pastes, :only => [:show, :new, :create], :path => '/' | 2 resources :pastes, :only => [:show, :create], :path => '/' |
3 root :to => 'pastes#new' | 3 root :to => 'pastes#new' |
4 end | 4 end |