NoMethodError in OrdersController#new
undefined method `line_items’ for nil:NilClass
error points to this line in the orders controller
after this error….
include CurrentCart before_action :set_cart, only: [:new, :create]
above code is added which results in new error
Routing Error uninitialized constant OrdersController::CurrentCart
please can anyone help me to resolve this