<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -13,14 +13,14 @@ module ActionController
           post_component_order = options[:order] || [ :category, :year, :month, :day, :slug ]
           
           named_route 'hush_cms_posts',
-            &quot;#{path}/:category/:page&quot;,
+            [ path, (:category if post_component_order.include?(:category)), ':page'].compact.join('/'),
             :controller =&gt; HushCMS.configuration['controllers']['posts'],
             :action =&gt; 'index',
             :defaults =&gt; { :page =&gt; 1 },
             :requirements =&gt; { :page =&gt; /\d+/ }
           
           named_route 'hush_cms_formatted_posts',
-            &quot;#{path}/:category/:format&quot;,
+            [ path, (:category if post_component_order.include?(:category)), ':format'].compact.join('/'),
             :controller =&gt; HushCMS.configuration['controllers']['posts'],
             :action =&gt; 'index',
             :defaults =&gt; { :format =&gt; 'html' },</diff>
      <filename>lib/extensions/mapper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8d3b23312ca8532cc3a1bc770d51cf125809cb69</id>
    </parent>
  </parents>
  <author>
    <name>James Brooks</name>
    <email>james@gooddogdesign.com</email>
  </author>
  <url>http://github.com/JamesBrooks/hush_cms/commit/96fc8698c314c77721e3d54cdfccadd37b3b6bc8</url>
  <id>96fc8698c314c77721e3d54cdfccadd37b3b6bc8</id>
  <committed-date>2009-04-06T22:58:24-07:00</committed-date>
  <authored-date>2009-04-06T22:58:24-07:00</authored-date>
  <message>Changed to the route mapper to enable posts routes without category (by omitted from the :order option)</message>
  <tree>1963641039d9dd2f77b01d005db433fab4bfadd0</tree>
  <committer>
    <name>James Brooks</name>
    <email>james@gooddogdesign.com</email>
  </committer>
</commit>
