Sha256: fc05d0ea6a09675401d964797539f3409f53e4e8676d514f5d095dcb61e65c57

Contents?: true

Size: 252 Bytes

Versions: 7

Compression:

Stored size: 252 Bytes

Contents

<% if can? :admin, SolidusSubscriptions::Subscription.new(user: @user) %>
  <li<%== ' class="active"' if current == :subscriptions %>>
    <%= link_to t("spree.admin.user.subscriptions"), spree.admin_user_subscriptions_path(@user) %>
  </li>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
solidus_subscriptions-2.0.2 app/views/spree/admin/users/_subscription_tab.html.erb
solidus_subscriptions-2.0.1 app/views/spree/admin/users/_subscription_tab.html.erb
solidus_subscriptions-2.0.0 app/views/spree/admin/users/_subscription_tab.html.erb
solidus_subscriptions-1.1.0 app/views/spree/admin/users/_subscription_tab.html.erb
solidus_subscriptions-1.0.1 app/views/spree/admin/users/_subscription_tab.html.erb
solidus_subscriptions-1.0.0 app/views/spree/admin/users/_subscription_tab.html.erb
solidus_subscriptions-1.0.0.rc1 app/views/spree/admin/users/_subscription_tab.html.erb