Sha256: d572a6320fe466a65bc73f1684c56eb0d7800412fab20a218ed1c44553e06dea
Contents?: true
Size: 487 Bytes
Versions: 10
Compression:
Stored size: 487 Bytes
Contents
<%# Views that use this partial must supply the following variables: thread user %> <% is_subscribed = !!thread.subscription_for(user) %> <% sub_string = is_subscribed ? 'unsubscribe' : 'subscribe' %> <%= link_to t("commontator.subscription.actions.#{sub_string}"), commontator.polymorphic_path([sub_string, thread]), method: :put, id: "commontator-thread-#{thread.id}-#{sub_string}", class: sub_string, remote: true %>
Version data entries
10 entries across 10 versions & 1 rubygems