view config/routes.rb @ 191:64e47a4d4df4

Update gems
author nanaya <me@nanaya.pro>
date Sat, 27 Jul 2019 14:03:30 +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