<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,3 @@
 ActionController::Routing::Routes.draw do |map|
-  map.namespace(:presentation) do |presentation|
-    presentation.resources :stylesheets, :only =&gt; [:show]
-  end
+  Presenting.draw_routes(map)
 end</diff>
      <filename>config/routes.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,11 @@
 module Presenting
+  # prior to Rails 2.3, you need to call this manually from your config/routes.rb
+  def self.draw_routes(map)
+    map.namespace(:presentation) do |presentation|
+      presentation.resources :stylesheets, :only =&gt; [:show]
+    end
+  end
+  
   # TODO bundle stylesheets that can make things pretty. let users decide which ones to link.
   # - layout / typography
   # - colors</diff>
      <filename>lib/presenting.rb</filename>
    </modified>
    <modified>
      <diff>@@ -15,11 +15,11 @@ PLUGIN_ROOT = File.join(File.dirname(__FILE__), '..')
 # prepare for autoloading
 ActiveSupport::Dependencies.load_paths &lt;&lt; File.join(PLUGIN_ROOT, 'lib')
 $LOAD_PATH.unshift File.join(PLUGIN_ROOT, 'lib')
-
-# load the code -- should be automatically done in an application from rails 2.3+
 ActionController::Base.view_paths &lt;&lt; File.join(PLUGIN_ROOT, 'app', 'views')
 ActiveSupport::Dependencies.load_paths &lt;&lt; File.join(PLUGIN_ROOT, 'app', 'controllers')
-$LOAD_PATH.unshift File.join(PLUGIN_ROOT, 'app', 'controllers')
+$LOAD_PATH.unshift File.join(PLUGIN_ROOT, 'app', 'controllers')
+
+# load the code
 require File.join(PLUGIN_ROOT, 'config', 'routes')
 require File.join(PLUGIN_ROOT, 'init')
 </diff>
      <filename>test/test_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bed228f4cd11349ac9b34350b36450e183537ea9</id>
    </parent>
  </parents>
  <author>
    <name>Lance Ivy</name>
    <email>lance@cainlevy.net</email>
  </author>
  <url>http://github.com/cainlevy/presenting/commit/add03a3dce0bf4f15c2bf0fd365de87563e0aba8</url>
  <id>add03a3dce0bf4f15c2bf0fd365de87563e0aba8</id>
  <committed-date>2009-02-18T16:38:05-08:00</committed-date>
  <authored-date>2009-02-18T16:38:05-08:00</authored-date>
  <message>move routing to Presenting.draw_routes so it can be used prior to Rails 2.3</message>
  <tree>4b080fd5ee796d435c887c659e9efa44a831750d</tree>
  <committer>
    <name>Lance Ivy</name>
    <email>lance@cainlevy.net</email>
  </committer>
</commit>
