Mercurial > zeropaste
annotate config/routes.rb @ 44:6a9e0c09bbd8
Ensure input box's width is always 100%.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Thu, 04 Oct 2012 02:37:41 +0700 |
parents | a81fb558f954 |
children | 1787e1fd3d16 |
rev | line source |
---|---|
0 | 1 Zeropaste::Application.routes.draw do |
40
a81fb558f954
root_path is new_paste_path. Not aliased because it's :effort:.
Edho Arief <edho@myconan.net>
parents:
8
diff
changeset
|
2 resources :pastes, :only => [:show, :create], :path => '/' |
4
23178d3de796
Slim controller (this app barely has any function)
Edho Arief <edho@myconan.net>
parents:
2
diff
changeset
|
3 root :to => 'pastes#new' |
0 | 4 end |