view config/routes.rb @ 198:de27d1ccd90b

Update gems
author nanaya <me@nanaya.pro>
date Thu, 30 Apr 2020 03:57:25 +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