Changed the order so that methods with no arguments are picked up as routes