Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
082cbec
commit 244d093
Showing
1 changed file
with
0 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,57 +1,3 @@ | |||
Reloader::Application.routes.draw do | Reloader::Application.routes.draw do | ||
get 'browser' => 'browser#index' | get 'browser' => 'browser#index' | ||
|
|||
# The priority is based upon order of creation: | |||
# first created -> highest priority. | |||
|
|||
# You can have the root of your site routed with "root" | |||
# just remember to delete public/index.html. | |||
# root to: 'welcome#index' | |||
|
|||
# Sample of regular route: | |||
# get 'products/:id' => 'catalog#view' | |||
# Keep in mind you can assign values other than :controller and :action | |||
|
|||
# Sample of named route: | |||
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase | |||
# This route can be invoked with purchase_url(id: product.id) | |||
|
|||
# Sample resource route (maps HTTP verbs to controller actions automatically): | |||
# resources :products | |||
|
|||
# Sample resource route with options: | |||
# resources :products do | |||
# member do | |||
# get 'short' | |||
# post 'toggle' | |||
# end | |||
# | |||
# collection do | |||
# get 'sold' | |||
# end | |||
# end | |||
|
|||
# Sample resource route with sub-resources: | |||
# resources :products do | |||
# resources :comments, :sales | |||
# resource :seller | |||
# end | |||
|
|||
# Sample resource route with more complex sub-resources | |||
# resources :products do | |||
# resources :comments | |||
# resources :sales do | |||
# get 'recent', on: :collection | |||
# end | |||
# end | |||
|
|||
# Sample resource route within a namespace: | |||
# namespace :admin do | |||
# # Directs /admin/products/* to Admin::ProductsController | |||
# # (app/controllers/admin/products_controller.rb) | |||
# resources :products | |||
# end | |||
|
|||
|
|||
# See how all your routes lay out with "rake routes" | |||
end | end |