Do this.

1) Compare the actual html generated by your form helper when both with and without the `url: {action: "create"}`. See the difference?

2) Refactor your code by doing `form_for [:admin, @post] do |f|`