Sha256: cff108c1c7bfc29530b243136abe3dbd75b022bc1051173bb113b893427ff8d0
Contents?: true
Size: 517 Bytes
Versions: 3
Compression:
Stored size: 517 Bytes
Contents
<% # Clients of this partial must supply the following variable: # thread %> <% subscription = thread.is_subscribed?(@commontator) <% 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(thread) + '?\n" : \ nil), :remote => true %>
Version data entries
3 entries across 3 versions & 1 rubygems