here's html link:
<%= link_to "select thumb", update_thumb_src_video_path(video), method: :patch, video: {thumb_src: name} %> when error pops, params listed id, authenticity_token , method, not video params.
this worked:
<%= link_to "select thumb", update_thumb_src_video_path(video, video: {thumb_src: name}), method: :patch %>
Comments
Post a Comment