view config/routes.rb @ 250:be0b78fb5f57

Link to original tweet in tweet header Otherwise there's no link for quote retweets.
author nanaya <me@nanaya.net>
date Mon, 17 Jul 2023 20:45:24 +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