You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm migrating from UJS to turbo, changing links from link_to "Activate Product", '/product/33/activate', method: 'post' to link_to "Activate Product", '/product/33/activate', { data: {turbo_method: 'post'}}. The link is from a page served from /admin/products/33. The turbo code will not honor the POST method unless I change the url to be from a similar parent location (/admin/products/33/activate works). Does turbo have any security constraints that prevents you from turning any link into a POST? Are others having this issue? Is this documented? Or am I the only one experiencing this?
The text was updated successfully, but these errors were encountered:
I'm migrating from UJS to turbo, changing links from
link_to "Activate Product", '/product/33/activate', method: 'post'
tolink_to "Activate Product", '/product/33/activate', { data: {turbo_method: 'post'}}
. The link is from a page served from/admin/products/33
. The turbo code will not honor the POST method unless I change the url to be from a similar parent location (/admin/products/33/activate
works). Does turbo have any security constraints that prevents you from turning any link into a POST? Are others having this issue? Is this documented? Or am I the only one experiencing this?The text was updated successfully, but these errors were encountered: