view config/routes.rb @ 206:a3c140f01707

Update gems
author nanaya <me@nanaya.pro>
date Mon, 19 Oct 2020 04:10:15 +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