view config/routes.rb @ 261:8c47a69cbfdb

Missing default 8.0 bin
author nanaya <me@nanaya.net>
date Sun, 15 Dec 2024 23:01:58 +0900
parents e2150dce4e90
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