Skip to content

Commit

Permalink
close #1035 add show method to guest line items controller (#1036)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaneath authored Jan 24, 2024
1 parent eae8bca commit 1c85479
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ def index

render_serialized_payload { serialize_resource(guest_line_items) }
end

# override
def show
guest_line_item = spree_current_order.line_items.find(params['id'])

render_serialized_payload { serialize_resource(guest_line_item) }
end
end
end
end
Expand Down

0 comments on commit 1c85479

Please sign in to comment.