Mercurial > rsstweet
view config/routes.rb @ 239:c800506ae799 legit-client
More varied cache period for less chance of hitting rate limit
author | nanaya <me@nanaya.net> |
---|---|
date | Sat, 15 Jul 2023 01:59:44 +0900 |
parents | 5af9b537db86 |
children |
line wrap: on
line source
Rails.application.routes.draw do root "tweets#index" get ":id/:name" => "tweets#show", :defaults => { :format => :atom }, :as => "tweet" get ":name" => "tweets#redirect" end