view config/routes.rb @ 193:555f90590c7d

Update gems
author nanaya <me@nanaya.pro>
date Sun, 06 Oct 2019 01:18:26 +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