Added functools.wraps, otherwise all the requests matched the last route
Merge pull request #2 from martriay/master

Added functools.wraps