view config/routes.rb @ 152:fd7344643903

Better? cache key
author nanaya <me@nanaya.pro>
date Sat, 17 Feb 2018 20:53:00 +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