From 443515dae44ef04cb43e73e30d757ab5ead1ccec Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Mon, 29 Oct 2018 09:33:43 +0000 Subject: [PATCH] Improve comment in index action --- app/controllers/spree/admin/orders_controller_decorator.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/spree/admin/orders_controller_decorator.rb b/app/controllers/spree/admin/orders_controller_decorator.rb index 2ef5245af1..f7e1b56929 100644 --- a/app/controllers/spree/admin/orders_controller_decorator.rb +++ b/app/controllers/spree/admin/orders_controller_decorator.rb @@ -23,7 +23,8 @@ Spree::Admin::OrdersController.class_eval do respond_to :html, :json def index - # Moved to api. Overriding the action so we only render the page template. + # Overriding the action so we only render the page template. An angular request + # within the page then fetches the data it needs from Api::OrdersController end # Overwrite to use confirm_email_for_customer instead of confirm_email.