Mercurial > rsstweet
annotate 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 |
rev | line source |
---|---|
0 | 1 Rails.application.routes.draw do |
38
9e03bbbb1d43
Move static#index to tweet#index.
edogawaconan <me@myconan.net>
parents:
19
diff
changeset
|
2 root "tweets#index" |
0 | 3 |
165 | 4 get ":id/:name" => "tweets#show", :defaults => { :format => :atom }, :as => "tweet" |
5 get ":name" => "tweets#redirect" | |
0 | 6 end |