Change match routes to get / post

match without a verb is deprecated in Rails master.