Here's the html link:
<%= link_to "Select Thumb", update_thumb_src_video_path(video), method: :patch, video: {thumb_src: name} %>
When the error pops, the params listed are the id, authenticity_token and method, but not the video params.
Here's the html link:
<%= link_to "Select Thumb", update_thumb_src_video_path(video), method: :patch, video: {thumb_src: name} %>
When the error pops, the params listed are the id, authenticity_token and method, but not the video params.
This worked:
<%= link_to "Select Thumb", update_thumb_src_video_path(video, video: {thumb_src: name}), method: :patch %>