view config/routes.rb @ 228:2a4ed5b73c73

Update gems
author nanaya <me@nanaya.pro>
date Wed, 13 Apr 2022 01:41:50 +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