tap/app/controllers/guest/orders_controller.rb

10 lines
139 B
Ruby
Raw Normal View History

2015-11-30 18:20:54 +01:00
class Guest::OrdersController < OrdersController
before_action :load_guest
private
def load_guest
@user = User.guest
end
end