view config/routes.rb @ 95:dfd7daac110e

Simpler syntax because I can
author nanaya <me@myconan.net>
date Thu, 28 Jul 2016 03:56:56 +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