annotate config/routes.rb @ 506:b5c6fd96100b default tip

Readd the field error proc config
author nanaya <me@nanaya.net>
date Mon, 16 Dec 2024 01:46:09 +0900
parents d2ef59c9a4b4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
431
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents: 309
diff changeset
1 Rails.application.routes.draw do
309
9fe8c29c27c4 Standardize syntax.
edogawaconan <me@myconan.net>
parents: 208
diff changeset
2 post "(pastes)" => "pastes#create", :format => /(html|json|xml|txt)/, :as => "pastes"
499
d2ef59c9a4b4 Use rails rubocop
nanaya <me@nanaya.net>
parents: 431
diff changeset
3 resources :pastes, only: [ :show, :destroy ], path: "/"
d2ef59c9a4b4 Use rails rubocop
nanaya <me@nanaya.net>
parents: 431
diff changeset
4 root to: "pastes#new"
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
5 end