view config/routes.rb @ 241:4bca1528675e legit-client

Wrong entity lookup key
author nanaya <me@nanaya.net>
date Sat, 15 Jul 2023 17:06:21 +0900
parents 5af9b537db86
children e2150dce4e90
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