Could someone show me how i could write a login decorator like @redirect_to_home
for my views so that it modifies the request.PATH
variable to a new a value like /
whenever it is applied to a view.
I've seen people do quite complex stuff with decorators: I'm yet to figure them out thoroughly.
Thanks