view config/routes.rb @ 162:3ff631612493

Simplified id check. Now it's mostly string
author nanaya <me@nanaya.pro>
date Fri, 03 Aug 2018 02:03:21 +0900
parents d5a0d66ee457
children 5af9b537db86
line wrap: on
line source

Rails.application.routes.draw do
  root "tweets#index"

  get "*id" => "tweets#show", :defaults => { :format => :atom }, :as => "tweet"
end