annotate config/routes.rb @ 243:bc2f45058c9e legit-client

Prevent caching of rate limited error and combine response handling
author nanaya <me@nanaya.net>
date Sun, 16 Jul 2023 08:53:59 +0900
parents 5af9b537db86
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 Rails.application.routes.draw do
38
9e03bbbb1d43 Move static#index to tweet#index.
edogawaconan <me@myconan.net>
parents: 19
diff changeset
2 root "tweets#index"
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
3
165
5af9b537db86 Unbreak \everything/
nanaya <me@nanaya.pro>
parents: 89
diff changeset
4 get ":id/:name" => "tweets#show", :defaults => { :format => :atom }, :as => "tweet"
5af9b537db86 Unbreak \everything/
nanaya <me@nanaya.pro>
parents: 89
diff changeset
5 get ":name" => "tweets#redirect"
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
6 end