Sha256: 95579a06a076334f5ea769e5c6476f9e1af1226c25477d3e5f30a443b92afb6a
Contents?: true
Size: 570 Bytes
Versions: 3
Compression:
Stored size: 570 Bytes
Contents
<% # Clients of this partial must supply the following variable: # comment_commontable_thread %> <% subscription = comment_commontable_thread.is_subscribed?(@user) <% sub_string = subscription ? "unsubscribe" : "subscribe" %> <%= link_to sub_string.capitalize, polymorphic_path([sub_string, commontable, :comments]), :confirm => (subscription ? \ "Are you sure you want to unsubscribe from ' + commontable_name(comment_commontable_thread) + '?\n" : \ nil), :remote => true %>
Version data entries
3 entries across 3 versions & 1 rubygems