view config/routes.rb @ 96:148d8c17cb79

Less monkeypatching rails, more monkeypatching tweet
author nanaya <me@myconan.net>
date Thu, 28 Jul 2016 04:25:47 +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