<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>pages</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -20,7 +20,7 @@
         &lt;div id=&quot;content&quot;&gt;
             &lt;form action=&lt;%= &quot;/#{%path}/edit&quot; %&gt; method=&quot;post&quot;&gt;
                 &lt;label for=&quot;contents&quot;&gt;Page contents: &lt;/label&gt;
-                &lt;textarea name=&quot;contents&quot; rows=35 cols=75&gt;&lt;%= (@page contents) %&gt;&lt;/textarea&gt; &lt;br/&gt;
+                &lt;textarea name=&quot;contents&quot; rows=35 cols=75&gt;&lt;%= (%page contents) %&gt;&lt;/textarea&gt; &lt;br/&gt;
                 &lt;label for=&quot;description&quot;&gt;Describe your changes here: &lt;input type=&quot;text&quot; name=&quot;description&quot; maxlength=&quot;50&quot;/&gt;
                     &lt;input type=&quot;submit&quot; value=&quot;Commit&quot;/&gt; &lt;br/&gt; &lt;input type=&quot;reset&quot;/&gt;
                 &lt;/form&gt;</diff>
      <filename>site/edit.nhtml</filename>
    </modified>
    <modified>
      <diff>@@ -16,7 +16,6 @@
             &lt;/div&gt;
         &lt;/div&gt;
         &lt;div id=&quot;content&quot;&gt;
-            &lt;%= %silly %&gt;
             &lt;% (%pages each: (do (page) %&gt;
             &lt;%= (link-to-page page) %&gt; &lt;br&gt;
             &lt;% )) %&gt;</diff>
      <filename>site/listpages.nhtml</filename>
    </modified>
    <modified>
      <diff>@@ -1,12 +1,11 @@
 ;; @file site.nu
-;; @discussion Handlers for HTTP requests.
+;; @discussion Handlers for HTTP REQUESTs.
 
 (get &quot;/&quot;
     ; Bug occurs if the first parameter to this method is not defined?
     (Nunja redirectResponse:REQUEST toLocation:&quot;/FrontPage&quot;))
      
 (get /\/pages/
-    (set %silly (MATCH groupAtIndex: 0))
      (set %pages ($session allBlobs))
      (eval (template-named &quot;listpages&quot;)))
 
@@ -17,38 +16,38 @@
 
 (get /\/(\w*)\/edit/
      
-     (set %path (TITLE pathComponent: 1))
+     (set %path ((MATCH string) pathComponent: 1))
      (set %page ($session fetchBlob: %path))
      (eval (template-named &quot;edit&quot;)))
 
 (post /\/(\w*)\/edit/
       
-      (set %path (TITLE pathComponent: 1))
-      (set %page ($session createBlob:%path withContents:((request post) &quot;contents&quot;)))
-      (set %message ((request post) &quot;description&quot;))
+      (set %path ((MATCH string) pathComponent: 1))
+      (set %page ($session createBlob:%path withContents:((REQUEST post) &quot;contents&quot;)))
+      (set %message ((REQUEST post) &quot;description&quot;))
       (unless %message (set %message &quot;Automatically-generated commit from Nuki.&quot;))
       ($session commitWithMessage: %message)
-      (Nunja redirectResponse: request toLocation: &quot;/#{%path}&quot;))
+      (Nunja redirectResponse: REQUEST toLocation: &quot;/#{%path}&quot;))
 
 (get /\/(\w*)\/history/
      
-     (set %path (TITLE pathComponent: 1))
+     (set %path ((MATCH string) pathComponent: 1))
      (set %page ($session fetchBlob: %path))
      (set %allRevisions (%page revisionHashes))
      (eval (template-named &quot;history&quot;)))
 
 (get /\/(\w*)\/history\/(\w*)/
      
-     (set %path (TITLE pathComponent: 1))
-     (set %revision (TITLE pathComponent: 3))
+     (set %path ((MATCH string) pathComponent: 1))
+     (set %revision ((MATCH string) pathComponent: 3))
      (set %page ($session fetchBlob: %path))
      (%page setContents: (%page contentsForRevisionHash: %revision))
      (eval (template-named &quot;page&quot;)))
 
 (get /\/(\w*)\/history\/(\w*)\/edit/
      
-     (set %path (TITLE pathComponent: 1))
-     (set %revision (TITLE pathComponent: 3))
+     (set %path ((MATCH string) pathComponent: 1))
+     (set %revision ((MATCH string) pathComponent: 3))
      (set %page ($session fetchBlob: %path))
      (%page setContents: (%page contentsForRevisionHash: %revision))
      (eval (template-named &quot;edit&quot;)))
\ No newline at end of file</diff>
      <filename>site/site.nu</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>pages/.DS_Store</filename>
    </removed>
    <removed>
      <filename>pages/About</filename>
    </removed>
    <removed>
      <filename>pages/FrontPage</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>844657146455ae4f495f40e495165cb15826e75c</id>
    </parent>
  </parents>
  <author>
    <name>Patrick Thomson</name>
    <email>ironswallow@gmail.com</email>
  </author>
  <url>http://github.com/patrickt/nuki/commit/f0ba557a6b1f0a08de93ec70ced38d4ed99f5a8d</url>
  <id>f0ba557a6b1f0a08de93ec70ced38d4ed99f5a8d</id>
  <committed-date>2008-08-22T18:44:25-07:00</committed-date>
  <authored-date>2008-08-22T18:44:25-07:00</authored-date>
  <message>Renabled the editing facilities.</message>
  <tree>12a93e93e30cf135da05a86728a64c6888216b62</tree>
  <committer>
    <name>Patrick Thomson</name>
    <email>ironswallow@gmail.com</email>
  </committer>
</commit>
