view config/routes.rb @ 161:c2e9d3a36bde

Improved id check
author nanaya <me@nanaya.pro>
date Fri, 03 Aug 2018 02:01:32 +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