Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify helper used in CustomerReturnsController #1771

Merged
merged 3 commits into from
Mar 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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