raducom/depot — comment on commit 9762adbfb40b809fa9940829b3e51a58dc8d09d3
File: app/controllers/line_items_controller.rb line 9
By mirceapricop:

You can use
before_filter :set_current_cart
to set it before every action, instead of repeating yourself