app/views/effective/orders/show.html.haml in effective_orders-6.6.3 vs app/views/effective/orders/show.html.haml in effective_orders-6.7.0
- old
+ new
@@ -1,8 +1,8 @@
= render 'layout' do
%h1.effective-heading= @page_title
- - if !@order.purchased? && EffectiveResources.authorized?(self, :update, @order)
+ - if EffectiveResources.authorized?(self, :checkout, @order)
= render_checkout(@order)
- else
= render(@order)
%p.text-center