Changed the order so that methods with no arguments are picked up as routes
Merge pull request #1 from mattgode/master

Change in ordering of route generation