view config/routes.rb @ 242:3ac13a9e593d legit-client

Fix wrong expanded media url
author nanaya <me@nanaya.net>
date Sat, 15 Jul 2023 21:03:39 +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