<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -88,6 +88,10 @@ module ActionController
   #
   #   map.connect ':controller/:action/:id', :action =&gt; 'show', :defaults =&gt; { :page =&gt; 'Dashboard' }
   #
+  # Note: The default routes, as provided by the Rails generator, make all actions in every
+  # controller accessible via GET requests. You should consider removing them or commenting
+  # them out if you're using named routes and resources.
+  #
   # == Named routes
   #
   # Routes can be named with the syntax &lt;tt&gt;map.name_of_route options&lt;/tt&gt;,</diff>
      <filename>actionpack/lib/action_controller/routing.rb</filename>
    </modified>
    <modified>
      <diff>@@ -36,6 +36,8 @@ ActionController::Routing::Routes.draw do |map|
   # See how all your routes lay out with &quot;rake routes&quot;
 
   # Install the default routes as the lowest priority.
+  # Note: These default routes make all actions in every controller accessible via GET requests. You should
+  # consider removing the them or commenting them out if you're using named routes and resources.
   map.connect ':controller/:action/:id'
   map.connect ':controller/:action/:id.:format'
 end</diff>
      <filename>railties/configs/routes.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d37e6413366c9a3fafa02c4298a2946dc8327a42</id>
    </parent>
  </parents>
  <author>
    <name>Clemens Kofler</name>
    <email>clemens@railway.at</email>
  </author>
  <url>http://github.com/rails/rails/commit/feb08984ea5517db5780a88584929feac1cafb59</url>
  <id>feb08984ea5517db5780a88584929feac1cafb59</id>
  <committed-date>2008-07-10T00:29:27-07:00</committed-date>
  <authored-date>2008-07-09T12:41:03-07:00</authored-date>
  <message>Added notes to Routing documentation and routes.rb regarding defaults routes opening the whole application for GET requests

Signed-off-by: Michael Koziarski &lt;michael@koziarski.com&gt;</message>
  <tree>e763d94b44d5144d79a6fd8bd1c1de34bf567e73</tree>
  <committer>
    <name>Michael Koziarski</name>
    <email>michael@koziarski.com</email>
  </committer>
</commit>
