     for namedArg in actionRoute.namedArguments
       @assert namedArg of params.params, "named argument: #{namedArg} doesn't exist in parameters"
     
-    params.preAction?()
+    params.preAction?(controller)
     try
       controller.dispatch actionRoute.action, params.params
       currentView = controller.get('currentView')

    finally
      $('#batman_fixture').remove()

    params.postAction?()
    null

  @fetchHTML: (basePath, path, callback) ->

        assertedActions.push({ action: action, namedArguments: [] })

    for action in assertedActions
      @assertAction(controller, action, params[action.action])
      assertedActions.push(action.action)

  assertAction: (controller, actionRoute, params = {}) ->
