Use 'get' in routes instead of 'match' suit to Rails4.