mercredi 1 novembre 2017

most likely explanation for rails put route not using the right route [ASKING FOR SOMEONE ELSE]

the error message is being returned as follows::::

Started PUT "/support/tickets/3" for :: 1 at 2017-10-31 23:45:21 -0700

ActionController::RoutingError (No route matches [PUT] "/support/tickets/3")

However the actual route that should be seen is "/support/devs/tickets/3"

Is there a reason why this isn't being done?

Calling rack routes shows the following:

PATCH /support/devs/tickets/:id(.:format) devs/tickets#update PUT /support/devs/tickets/:id(.:format) devs/tickets#update

I know this isn't much to work off of, since I don't have access to the actual files, but any input or advice if this problem has been encountered before would be much appreciated!

Aucun commentaire:

Enregistrer un commentaire