Skip to content

Commit

Permalink
Dishes index now returns orders too
Browse files Browse the repository at this point in the history
  • Loading branch information
petros committed Mar 8, 2016
1 parent 1472a26 commit 0898a22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/dishes_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class DishesController < ApplicationController
# GET /dishes.json
def index
@dishes = Dish.all
@orders = Order.all
end

# GET /dishes/1
Expand Down

0 comments on commit 0898a22

Please sign in to comment.