Mercurial > rsstweet
comparison config/routes.rb @ 15:207917e41964
Add tweets~
Feature is now on par with the thing it's replacing.
author | edogawaconan <me@myconan.net> |
---|---|
date | Fri, 05 Sep 2014 20:37:25 +0900 |
parents | 82cb8887fb56 |
children | 157f7fd136fc |
comparison
equal
deleted
inserted
replaced
14:aad3b253ffd5 | 15:207917e41964 |
---|---|
2 # The priority is based upon order of creation: first created -> highest priority. | 2 # The priority is based upon order of creation: first created -> highest priority. |
3 # See how all your routes lay out with "rake routes". | 3 # See how all your routes lay out with "rake routes". |
4 | 4 |
5 # You can have the root of your site routed with "root" | 5 # You can have the root of your site routed with "root" |
6 root 'static#index' | 6 root 'static#index' |
7 | |
8 get "*id" => "tweets#show", :defaults => { :format => :atom } | |
7 | 9 |
8 # Example of regular route: | 10 # Example of regular route: |
9 # get 'products/:id' => 'catalog#view' | 11 # get 'products/:id' => 'catalog#view' |
10 | 12 |
11 # Example of named route that can be invoked with purchase_url(id: product.id) | 13 # Example of named route that can be invoked with purchase_url(id: product.id) |