Hello!
There are
resources :questions
it creates action
new
which runs
a GET
request, how to change in
POST
?
So far I have this:
match '/questions/new', to: 'questions#new', as: 'new_question', via: :post
Link Avoid using the #match to determine the routes