Mercurial > rsstweet
comparison config/routes.rb @ 6:82cb8887fb56
Hahaha, no assets.
author | edogawaconan <me@myconan.net> |
---|---|
date | Fri, 05 Sep 2014 18:30:35 +0900 |
parents | a1c9fadc0904 |
children | 207917e41964 |
comparison
equal
deleted
inserted
replaced
5:489002ad6ebf | 6:82cb8887fb56 |
---|---|
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 'welcome#index' | 6 root 'static#index' |
7 | 7 |
8 # Example of regular route: | 8 # Example of regular route: |
9 # get 'products/:id' => 'catalog#view' | 9 # get 'products/:id' => 'catalog#view' |
10 | 10 |
11 # Example of named route that can be invoked with purchase_url(id: product.id) | 11 # Example of named route that can be invoked with purchase_url(id: product.id) |