view config/routes.rb @ 117:e3067b426b70

Improved style
author nanaya <me@myconan.net>
date Sun, 12 Feb 2017 17:20:58 +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