From 44c46305d8ee12883b333eb61e8b40ec74d7c29a Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Wed, 11 Oct 2017 13:27:41 -0700 Subject: [PATCH] Replace spec/dummy with checked in dummy_app This removes the need to run rake test_app. Instead, we have a checked in single-file Rails application and can re-run migrations when necessary. --- app/controllers/spree/admin/stock_transfers_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/spree/admin/stock_transfers_controller.rb b/app/controllers/spree/admin/stock_transfers_controller.rb index 69c740c..0b4e598 100644 --- a/app/controllers/spree/admin/stock_transfers_controller.rb +++ b/app/controllers/spree/admin/stock_transfers_controller.rb @@ -1,6 +1,8 @@ module Spree module Admin class StockTransfersController < ResourceController + helper 'spree/admin/stock_locations' + class_attribute :variant_display_attributes self.variant_display_attributes = [ { translation_key: :sku, attr_name: :sku },