view config/routes.rb @ 179:b224cf75a759

Update gems
author nanaya <me@nanaya.pro>
date Sat, 13 Oct 2018 14:36:14 +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