changed routing directive from match to get to comply with Rails 4.x requirements