Skip to content

Commit

Permalink
Merge pull request #5960 from homakov/patch-3
Browse files Browse the repository at this point in the history
Delete insecure and "bad practice" code.
  • Loading branch information
josevalim committed Apr 24, 2012
2 parents 481ed89 + f70d95e commit 10540e2
Showing 1 changed file with 2 additions and 5 deletions.
Expand Up @@ -3,11 +3,11 @@
# first created -> highest priority.

# Sample of regular route:
# match 'products/:id' => 'catalog#view'
# get 'products/:id' => 'catalog#view'
# Keep in mind you can assign values other than :controller and :action

# Sample of named route:
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
# 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):
Expand Down Expand Up @@ -52,7 +52,4 @@

# See how all your routes lay out with "rake routes"

# This is a legacy wild controller route that's not recommended for RESTful applications.
# Note: This route will make all actions in every controller accessible via GET requests.
# match ':controller(/:action(/:id))(.:format)'
end

0 comments on commit 10540e2

Please sign in to comment.