view config/routes.rb @ 168:0c60db0a3686

Less escaping, more xhtml
author nanaya <me@nanaya.pro>
date Wed, 08 Aug 2018 19:52:06 +0900
parents 5af9b537db86
children
line wrap: on
line source

Rails.application.routes.draw do
  root "tweets#index"

  get ":id/:name" => "tweets#show", :defaults => { :format => :atom }, :as => "tweet"
  get ":name" => "tweets#redirect"
end