how do you "fire" that function? If a user needs to go to that url (/app/controller/plus_minus) than you have no other way than redirecting at the end. If you want that function to be executed in another controller, just do
def plus_minus(fakearg=0): ..... and in your controller def yourfunction(): .... plus_minus() .... return dict(whatever=whatever) The point is that a function with parameters can't be accessed by a user going to the url.... i.e. /app/controller/plus_minus would return a 404 error. --