Sha256: 377ca3ca1a0ecc14f4b4aeae481c5d29771690e3b5581e0a10bfe1b235ade8b8
Contents?: true
Size: 441 Bytes
Versions: 32
Compression:
Stored size: 441 Bytes
Contents
module Spree module Admin class ReturnItemsController < ResourceController private def location_after_save url_for([:edit, :admin, @return_item.customer_return.order, @return_item.customer_return]) end def render_after_update_error redirect_back(fallback_location: location_after_save, flash: { error: @object.errors.full_messages.join(', ') }) end end end end
Version data entries
32 entries across 32 versions & 1 rubygems