Quick fix for Rails 4 compatability

Added `via: [:get, :post]' to routes.  In reality I should refactor the `match' routes to `get' and `put' instead.