view config/routes.rb @ 208:ef836405c9eb

Add 403 page
author nanaya <me@nanaya.pro>
date Mon, 19 Oct 2020 14:28:44 +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