<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -170,13 +170,11 @@ get '/_attachment/:page/:file.:ext' do
   send_file(File.join(@page.attach_dir, params[:file] + '.' + params[:ext]))
 end
 
-# support methods
+helpers do
 
-def page_url(page)
-  &quot;#{request.env[&quot;rack.url_scheme&quot;]}://#{request.env[&quot;HTTP_HOST&quot;]}/#{page}&quot;
-end
-
-private
+  def page_url(page)
+    &quot;#{request.env[&quot;rack.url_scheme&quot;]}://#{request.env[&quot;HTTP_HOST&quot;]}/#{page}&quot;
+  end
 
   def show(template, title)
     @title = title
@@ -192,3 +190,5 @@ private
       $repo.add('.meta')
     end
   end
+
+end
\ No newline at end of file</diff>
      <filename>git-wiki.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a55359a1c55bc520a3bd029b16c09f9c43733a79</id>
    </parent>
  </parents>
  <author>
    <name>bmizerany</name>
    <email>blake.mizerany@gmail.com</email>
  </author>
  <url>http://github.com/schacon/git-wiki/commit/ef5c3191eafcae8657c4df2d73f7c64c7f6b5af4</url>
  <id>ef5c3191eafcae8657c4df2d73f7c64c7f6b5af4</id>
  <committed-date>2009-10-27T18:14:14-07:00</committed-date>
  <authored-date>2008-07-01T12:27:53-07:00</authored-date>
  <message>using helpers</message>
  <tree>418af78d9216abc393c126b3bfccfbd2aa1deef3</tree>
  <committer>
    <name>Scott Chacon</name>
    <email>schacon@gmail.com</email>
  </committer>
</commit>
