<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>upstream Routes merge</title> 
  <pubDate>Fri, 10 Apr 2026 12:52:14 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6917</link> 
  <atom:link rel="self" type="application/rss+xml" title="upstream Routes merge" href="https://bugs.horde.org/ticket/6917/rss" /> 
  <description>upstream Routes merge</description> 
 
   
   
  <item> 
   <title>Revision

    71

Author

    mnaberez

Date

    2008-06-12</title> 
   <description>Revision

    71

Author

    mnaberez

Date

    2008-06-12 23:38:04 -0400 (Thu, 12 Jun 2008)



Log Message



Also generate formatted route for PUT and DELETE.  This needs a test and to be merged upstream to both Pylons Routes and Horde_Routes.



Modified Paths



    * trunk/vendor/Horde/Routes/Mapper.php



Diff

Modified: trunk/vendor/Horde/Routes/Mapper.php (70 =&gt; 71)





--- trunk/vendor/Horde/Routes/Mapper.php	2008-06-13 03:37:12 UTC (rev 70)

+++ trunk/vendor/Horde/Routes/Mapper.php	2008-06-13 03:38:04 UTC (rev 71)

@@ -874,6 +874,7 @@

                 $this-&gt;connect($routeName,

                                sprintf(&quot;%s/%s&quot;, $collectionPath, $action),

                                $routeOptions);

+

                 $this-&gt;connect(&#039;formatted_&#039; . $routeName,

                                sprintf(&quot;%s/%s.:(format)&quot;, $collectionPath, $action),

                                $routeOptions);

@@ -893,8 +894,6 @@

                        $collectionPath,

                        array_merge($connectkargs, $options));

 

-        $connectkargs = array(&#039;action&#039; =&gt; &#039;index&#039;,

-                              &#039;conditions&#039; =&gt; array(&#039;method&#039; =&gt; array(&#039;GET&#039;)));

         $this-&gt;connect(&#039;formatted_&#039; . $kargs[&#039;namePrefix&#039;] . $collectionName,

                        $collectionPath . &#039;.:(format)&#039;,

                        array_merge($connectkargs, $options));

@@ -953,6 +952,7 @@

             if ($primary) {

                 $routeOptions[&#039;action&#039;] = $primary;

                 $this-&gt;connect($memberPath, $routeOptions);

+                $this-&gt;connect($memberPath . &#039;.:(format)&#039;, $routeOptions);

             }

         }

 

</description> 
   <pubDate>Fri, 13 Jun 2008 15:39:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6917#t46413</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
