<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,6 @@
+== 0.3.2 2008-04-27
+  * Added route to config/router.rb when generating resource
+
 == 0.3.1 2008-04-26
   * Removed unnecessary local paramater usage in show.
 </diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -9,9 +9,6 @@ Stage is a code template generator that utilizes helpers as presenters to reduce
 
 Both: The helper methods could generate more precise form helpers.  Just outputs text fields.
 
-Merb:  Need to add resource to router.rb
-
-
 == REQUIREMENTS:
 
 Merb + DataMapper</diff>
      <filename>README.txt</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@ module Stage #:nodoc:
   module VERSION #:nodoc:
     MAJOR = 0
     MINOR = 3
-    TINY  = 1
+    TINY  = 2
 
     STRING = [MAJOR, MINOR, TINY].join('.')
   end</diff>
      <filename>lib/stage/version.rb</filename>
    </modified>
    <modified>
      <diff>@@ -46,6 +46,11 @@ class StageGenerator &lt; Merb::GeneratorBase
                     :full_controller_const =&gt; full_controller_const,
                     :resource_name =&gt; resource_name}
 
+      sentinel = 'Merb::Router.prepare do |r|'
+      m.gsub_file 'config/router.rb', /(#{Regexp.escape(sentinel)})/mi do |match|
+        &quot;#{match}\n  r.resources :#{resource_plural_name}\n&quot;
+      end
+
       copy_dirs
       copy_files
     end
@@ -69,4 +74,7 @@ class StageGenerator &lt; Merb::GeneratorBase
     EOS
   end
 
+  def route(m, resource_name)
+  end
+
 end</diff>
      <filename>merb_generators/stage/stage_generator.rb</filename>
    </modified>
    <modified>
      <diff>@@ -33,7 +33,7 @@
     &lt;h1&gt;stage&lt;/h1&gt;
     &lt;div id=&quot;version&quot; class=&quot;clickable&quot; onclick='document.location = &quot;http://rubyforge.org/projects/stage&quot;; return false'&gt;
       &lt;p&gt;Get Version&lt;/p&gt;
-      &lt;a href=&quot;http://rubyforge.org/projects/stage&quot; class=&quot;numbers&quot;&gt;0.3.0&lt;/a&gt;
+      &lt;a href=&quot;http://rubyforge.org/projects/stage&quot; class=&quot;numbers&quot;&gt;0.3.1&lt;/a&gt;
     &lt;/div&gt;
     &lt;h1&gt;&amp;#x2192; &amp;#8216;stage&amp;#8217;&lt;/h1&gt;
 
@@ -50,6 +50,9 @@
 	&lt;h2&gt;&lt;a href=&quot;rails.html&quot;&gt;Rails Instructions&lt;/a&gt;&lt;/h2&gt;
 
 
+	&lt;p&gt;My &lt;a href=&quot;http://blog.stonean.com/2008/01/generator-stage.html&quot;&gt;original blog post&lt;/a&gt; has been updated to reflect the new design.  It&amp;#8217;s a bit more descriptive if the previous links aren&amp;#8217;t sufficient.&lt;/p&gt;
+
+
 	&lt;h2&gt;Forum&lt;/h2&gt;
 
 
@@ -79,7 +82,7 @@
 
 	&lt;p&gt;Comments and suggestions are welcome via the &lt;a href=&quot;http://groups.google.com/group/stonean_stage?hl=en&quot;&gt;forum&lt;/a&gt;&lt;/p&gt;
     &lt;p class=&quot;coda&quot;&gt;
-      26th April 2008&lt;br&gt;
+      27th April 2008&lt;br&gt;
       Theme extended from &lt;a href=&quot;http://rb2js.rubyforge.org/&quot;&gt;Paul Battley&lt;/a&gt;
     &lt;/p&gt;
 &lt;/div&gt;</diff>
      <filename>website/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -11,6 +11,8 @@ h2. &lt;a href=&quot;merb.html&quot;&gt;Merb Instructions&lt;/a&gt;
 
 h2. &lt;a href=&quot;rails.html&quot;&gt;Rails Instructions&lt;/a&gt;
 
+My &lt;a href=&quot;http://blog.stonean.com/2008/01/generator-stage.html&quot;&gt;original blog post&lt;/a&gt; has been updated to reflect the new design.  It's a bit more descriptive if the previous links aren't sufficient.
+
 h2. Forum
 
 &quot;http://groups.google.com/group/stonean_stage?hl=en&quot;:http://groups.google.com/group/stonean_stage?hl=en</diff>
      <filename>website/index.txt</filename>
    </modified>
    <modified>
      <diff>@@ -33,7 +33,7 @@
     &lt;h1&gt;stage&lt;/h1&gt;
     &lt;div id=&quot;version&quot; class=&quot;clickable&quot; onclick='document.location = &quot;http://rubyforge.org/projects/stage&quot;; return false'&gt;
       &lt;p&gt;Get Version&lt;/p&gt;
-      &lt;a href=&quot;http://rubyforge.org/projects/stage&quot; class=&quot;numbers&quot;&gt;0.3.0&lt;/a&gt;
+      &lt;a href=&quot;http://rubyforge.org/projects/stage&quot; class=&quot;numbers&quot;&gt;0.3.1&lt;/a&gt;
     &lt;/div&gt;
     &lt;h1&gt;&amp;#x2192; &amp;#8216;stage&amp;#8217;&lt;/h1&gt;
 </diff>
      <filename>website/merb.html</filename>
    </modified>
    <modified>
      <diff>@@ -33,7 +33,7 @@
     &lt;h1&gt;stage&lt;/h1&gt;
     &lt;div id=&quot;version&quot; class=&quot;clickable&quot; onclick='document.location = &quot;http://rubyforge.org/projects/stage&quot;; return false'&gt;
       &lt;p&gt;Get Version&lt;/p&gt;
-      &lt;a href=&quot;http://rubyforge.org/projects/stage&quot; class=&quot;numbers&quot;&gt;0.3.0&lt;/a&gt;
+      &lt;a href=&quot;http://rubyforge.org/projects/stage&quot; class=&quot;numbers&quot;&gt;0.3.1&lt;/a&gt;
     &lt;/div&gt;
     &lt;h1&gt;&amp;#x2192; &amp;#8216;stage&amp;#8217;&lt;/h1&gt;
 </diff>
      <filename>website/rails.html</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8152cfefe7cd8250367892347a78f9de8a0d34bf</id>
    </parent>
  </parents>
  <author>
    <name>Andrew Stone</name>
    <email>andy@stonean.com</email>
  </author>
  <url>http://github.com/stonean/stage/commit/e86950e229aab31195dd03a796a9555f0a1e1843</url>
  <id>e86950e229aab31195dd03a796a9555f0a1e1843</id>
  <committed-date>2008-04-27T17:39:42-07:00</committed-date>
  <authored-date>2008-04-27T17:39:42-07:00</authored-date>
  <message>added route functionality to merb generator and updated website with rails info</message>
  <tree>4c8e3b7680d08e6d4d0e594194bdd0456bc1f5ee</tree>
  <committer>
    <name>Andrew Stone</name>
    <email>andy@stonean.com</email>
  </committer>
</commit>
