view config/routes.rb @ 201:40c828f83657

Using query string seems to be a bit more stable now?
author nanaya <me@nanaya.pro>
date Sat, 22 Aug 2020 04:38:11 +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