view config/routes.rb @ 216:2a3c7db6007a

Remove more middlewares
author nanaya <me@nanaya.pro>
date Fri, 11 Dec 2020 03:55:56 +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