Skip to content

Commit

Permalink
Merge pull request #1771 from eric1234/patch-2
Browse files Browse the repository at this point in the history
Specify helper used in CustomerReturnsController
  • Loading branch information
jhawthorn authored Mar 16, 2017
2 parents 7bade4c + 15e643f commit b5af644
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module Spree
module Admin
class CustomerReturnsController < ResourceController
helper 'spree/admin/reimbursements'
helper 'spree/admin/reimbursement_type'
belongs_to 'spree/order', find_by: :number

before_action :parent # ensure order gets loaded to support our pseudo parent-child relationship
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module Spree
module Admin
class ReimbursementsController < ResourceController
helper 'spree/admin/reimbursement_type'
helper 'spree/admin/customer_returns'
belongs_to 'spree/order', find_by: :number

before_action :load_stock_locations, only: :edit
Expand Down

0 comments on commit b5af644

Please sign in to comment.