tap/app/controllers/guest/orders_controller.rb
2015-11-30 18:29:18 +01:00

9 lines
139 B
Ruby

class Guest::OrdersController < OrdersController
before_action :load_guest
private
def load_guest
@user = User.guest
end
end