spree-contrib/spree_legacy_return_authorizations

View on GitHub
app/models/spree/strong_parameters_decorator.rb

Summary

Maintainability
A
0 mins
Test Coverage
Spree::Core::ControllerHelpers::StrongParameters.module_eval do
  def permitted_legacy_return_authorization_attributes
    [:amount, :reason, :stock_location_id]
  end
end