summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/spree/admin/subscriptions/index.html.erb2
-rw-r--r--app/views/spree/admin/users/subscriptions/index.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/spree/admin/subscriptions/index.html.erb b/app/views/spree/admin/subscriptions/index.html.erb
index 2a30358..1b12a6c 100644
--- a/app/views/spree/admin/subscriptions/index.html.erb
+++ b/app/views/spree/admin/subscriptions/index.html.erb
@@ -119,7 +119,7 @@
<tr>
<td><%= l(subscription.created_at.to_date) %></td>
<td><%= link_to subscription.user.email, admin_user_path(subscription.user) %></td>
- <td><%= subscription.actionable_date ? l(subscription.actionable_date.to_date) : '-' %></td>
+ <td><%= subscription.actionable_date ? l(subscription.actionable_date) : '-' %></td>
<td><%= subscription.interval.inspect %></td>
<td><%= render 'state_pill', subscription: subscription %></td>
<td><%= render 'processing_state_pill', subscription: subscription %></td>
diff --git a/app/views/spree/admin/users/subscriptions/index.html.erb b/app/views/spree/admin/users/subscriptions/index.html.erb
index 064499a..1f969a3 100644
--- a/app/views/spree/admin/users/subscriptions/index.html.erb
+++ b/app/views/spree/admin/users/subscriptions/index.html.erb
@@ -25,7 +25,7 @@
<% @subscriptions.each do |subscription| %>
<tr>
<td><%= l(subscription.created_at.to_date) %></td>
- <td><%= subscription.actionable_date ? l(subscription.actionable_date.to_date) : '-' %></td>
+ <td><%= subscription.actionable_date ? l(subscription.actionable_date) : '-' %></td>
<td><%= subscription.interval.inspect %></td>
<td><%= render 'spree/admin/subscriptions/state_pill', subscription: subscription %></td>
<td><%= render 'spree/admin/subscriptions/processing_state_pill', subscription: subscription %></td>