Mercurial > rsstweet
view config/routes.rb @ 165:5af9b537db86
Unbreak \everything/
- simplify routing, no more split hackery
- fix user lookup and differentiate between id and name lookup
author | nanaya <me@nanaya.pro> |
---|---|
date | Fri, 03 Aug 2018 02:31:25 +0900 |
parents | d5a0d66ee457 |
children | e2150dce4e90 |
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