make routes rails4 compatible (use get instead of match)