view config/routes.rb @ 214:2335107f35d0

Run rails update
author nanaya <me@nanaya.pro>
date Fri, 11 Dec 2020 03:47: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