view config/routes.rb @ 160:4e4195e60c2b

Add check at user level as well
author nanaya <me@nanaya.pro>
date Fri, 03 Aug 2018 01:45:16 +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