Mercurial > rsstweet
view config/routes.rb @ 215:1c1f761f2dcc
The parameter is still required in production so it turned out
author | nanaya <me@nanaya.pro> |
---|---|
date | Fri, 11 Dec 2020 03:52:35 +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