Mercurial > rsstweet
comparison config/routes.rb @ 19:157f7fd136fc
Double quotes everywhere.
| author | edogawaconan <me@myconan.net> |
|---|---|
| date | Fri, 05 Sep 2014 23:11:19 +0900 |
| parents | 207917e41964 |
| children | 9e03bbbb1d43 |
comparison
equal
deleted
inserted
replaced
| 18:aeb4d50ec21b | 19:157f7fd136fc |
|---|---|
| 1 Rails.application.routes.draw do | 1 Rails.application.routes.draw do |
| 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 | 7 |
| 8 get "*id" => "tweets#show", :defaults => { :format => :atom } | 8 get "*id" => "tweets#show", :defaults => { :format => :atom } |
| 9 | 9 |
| 10 # Example of regular route: | 10 # Example of regular route: |
| 11 # get 'products/:id' => 'catalog#view' | 11 # get 'products/:id' => 'catalog#view' |
