<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -7,7 +7,10 @@ if RAILS_ENV == &quot;test&quot;
   end
 end      
 
-ActionController::Routing::Routes.draw do |map|
-  map.connect &quot;/__test__&quot;, :controller =&gt; &quot;cms/content&quot;, :action =&gt; &quot;show_page_route&quot;
-  map.routes_for_browser_cms
+# Only load these routes if this is the &quot;root&quot; application
+if RAILS_ROOT == File.expand_path(File.dirname(__FILE__) + &quot;/..&quot;)
+  ActionController::Routing::Routes.draw do |map|
+    map.connect &quot;/__test__&quot;, :controller =&gt; &quot;cms/content&quot;, :action =&gt; &quot;show_page_route&quot;
+    map.routes_for_browser_cms
+  end
 end</diff>
      <filename>config/routes.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1893a64a2e4e56aa123e383736b0ccfaa06644d8</id>
    </parent>
  </parents>
  <author>
    <name>jdettmann</name>
    <email>jdettmann@browsermedia.com</email>
  </author>
  <url>http://github.com/browsermedia/browsercms/commit/ca81344b63308e1b0a2245cd18e278807941e2a4</url>
  <id>ca81344b63308e1b0a2245cd18e278807941e2a4</id>
  <committed-date>2009-10-26T13:25:30-07:00</committed-date>
  <authored-date>2009-10-26T13:25:30-07:00</authored-date>
  <message>Fix vendored gem routes bug by Jon Leighton LIGHTHOUSE #138</message>
  <tree>0e6042b52348f2de3a90136acece576bff0af230</tree>
  <committer>
    <name>jdettmann</name>
    <email>jdettmann@browsermedia.com</email>
  </committer>
</commit>
