Skip to content

Commit

Permalink
updating the routes
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Jul 30, 2012
1 parent 082cbec commit 244d093
Showing 1 changed file with 0 additions and 54 deletions.
54 changes: 0 additions & 54 deletions config/routes.rb
@@ -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

0 comments on commit 244d093

Please sign in to comment.