view config/routes.rb @ 167:522d832d8a8c

Show controls for video
author nanaya <me@nanaya.pro>
date Fri, 03 Aug 2018 03:25:31 +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