app/views/mailkick/subscriptions/show.html.erb in mailkick-0.0.2 vs app/views/mailkick/subscriptions/show.html.erb in mailkick-0.0.3
- old
+ new
@@ -22,15 +22,15 @@
}
</style>
</head>
<body>
<div class="container">
- <% if subscribed? %>
- <p>You are subscribed.</p>
- <p><%= link_to "Unsubscribe", unsubscribe_url %></p>
- <% else %>
+ <% if opted_out? %>
<p>You are unsubscribed.</p>
<p><%= link_to "Resubscribe", subscribe_url %></p>
+ <% else %>
+ <p>You are subscribed.</p>
+ <p><%= link_to "Unsubscribe", unsubscribe_url %></p>
<% end %>
</div>
</body>
</html>