<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,7 @@
 Merb.logger.info(&quot;Compiling routes...&quot;)
 Merb::Router.prepare do
+  resources :softwares
+  resources :hardwares
 
 	# general routes.
 	
@@ -22,14 +24,19 @@ Merb::Router.prepare do
 	# for browsing via a letter/number.
 	
 	match(&quot;/people/:character&quot;, :character =&gt; /^[A-Za-z0-9]$/).to(:controller =&gt; 'people', :action =&gt; 'index_by_character')	
-	match(&quot;/setup/wares/:character&quot;, :character =&gt; /^[A-Za-z0-9]$/).to(:controller =&gt; 'companies', :action =&gt; 'index_by_character')	
 
 	# resource routes.
 	
 	identify Company =&gt; [:slug] do
-		resources(:companies, :path =&gt; 'setup/wares') do |c|
-			c.match(&quot;/:wares_slug&quot;).to(:controller =&gt; 'wares', :action =&gt; 'show')
-		end
+		resources(:companies, :path =&gt; 'setup/companies')
+	end
+	
+	identify Hardware =&gt; [:slug] do
+		resources(:hardwares, :path =&gt; 'setup/hardware')
+	end
+	
+	identify Software =&gt; [:slug] do
+		resources(:softwares, :path =&gt; 'setup/software')
 	end
 	
 	identify Interview =&gt; [:created_year, :created_month, :created_day, :slug] do
@@ -45,8 +52,8 @@ Merb::Router.prepare do
 	identify Person =&gt; :username do
         	resources(:people)
 	end
-
-	identify Post =&gt; [:created_year, :created_month, :created_day, :slug] do
+	
+	identify Post =&gt; [:created_year, :created_month, :created_day, :slug] do		
 		resources(:posts) do |p|
 			p.resources(:comments)
 		end</diff>
      <filename>config/router.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5c69b263725ea62eb026cf67da587096992199e8</id>
    </parent>
  </parents>
  <author>
    <name>Daniel Bogan</name>
    <email>github.com@waferbaby.com</email>
  </author>
  <url>http://github.com/waferbaby/waferbaby/commit/a94dddffe49a19c28e58cedecba229dd52571f0b</url>
  <id>a94dddffe49a19c28e58cedecba229dd52571f0b</id>
  <committed-date>2009-04-06T05:38:50-07:00</committed-date>
  <authored-date>2009-04-06T05:38:50-07:00</authored-date>
  <message>Ditched the old wares slug matching under companies. Added hardware and software resources.</message>
  <tree>8d00a4088bf35ce41167c7c7b373c6c0ecd98211</tree>
  <committer>
    <name>Daniel Bogan</name>
    <email>github.com@waferbaby.com</email>
  </committer>
</commit>
