Created
July 9, 2020 13:36
-
-
Save bankair/750c242a47940eac1d842a2bb71138dc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RecipesController < ApplicationController | |
# GET /recipes | |
def index | |
@recipes = Recipe.all.includes(:ingredients) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment