<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -38,7 +38,7 @@ abstract class Step extends HttpServlet
     
     def isMatchingRoute(route: Route) = {
       def exec(args: Params) = {
-        before()_
+        before _
         response setContentType contentType
         paramsMap.withValue(args ++ realParams) {
           response.getWriter print route.action()
@@ -52,7 +52,7 @@ abstract class Step extends HttpServlet
   }
   
   def params(name: String): String = paramsMap value name
-  def before()(fun: =&gt; Any) = fun
+  def before(fun: =&gt; Any) = fun
   val List(get, post, put, delete) = protocols map routeSetter  
 
   // functional programming means never having to repeat yourself</diff>
      <filename>src/main/scala/Step.scala</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@ package com.thinkminimo.step
 
 class StepExample extends Step {
 
-  before() {
+  before {
     contentType = &quot;text/html&quot;
   }
 </diff>
      <filename>src/main/scala/StepExample.scala</filename>
    </modified>
    <modified>
      <diff>@@ -31,7 +31,7 @@ class TemplateExample extends Step {
     }
   }
 
-  before() {
+  before {
     contentType = &quot;text/html&quot;
   }
 </diff>
      <filename>src/main/scala/TemplateExample.scala</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f2e0ba7652243311259b80b86c59cd499e50f474</id>
    </parent>
  </parents>
  <author>
    <name>gabriele renzi</name>
    <email>rff.rff@gmail.com</email>
  </author>
  <url>http://github.com/riffraff/step/commit/ab87f514c596f91eefadd1acb35733fe4743932d</url>
  <id>ab87f514c596f91eefadd1acb35733fe4743932d</id>
  <committed-date>2009-06-09T10:50:15-07:00</committed-date>
  <authored-date>2009-06-09T10:50:15-07:00</authored-date>
  <message>before does not need to be curryed, I believe, all tests passing</message>
  <tree>b501a030191dacf173ee6a2419f29cb1dd430234</tree>
  <committer>
    <name>gabriele renzi</name>
    <email>rff.rff@gmail.com</email>
  </committer>
</commit>
