rails ajax tr全体をリンクに変更

haml

%tr#clickable{data: {href: new_club_content_url(content_previous.club.access_token)}}
  %td= content_previous.name

js

$('tr#clickable').click ->
  window.location =  this.dataset.href