Rails 4 routing

This is a small fix to provide compatibility with Rails 4. I'm using `get` instead of `match`, as the routes should only accept GET requests, I believe. Thanks and thanks to @leifg as well.