view config/routes.rb @ 138:7907fe886675

Better use symbol?
author nanaya <me@nanaya.pro>
date Wed, 13 Dec 2017 03:46: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