Stephanie Pi's pull request 

Stephanie Pi's pull request 
`@ingredient = Ingredient.find(params[:id])` is used several times in this class, which makes it a good candidate for refactoring! You could pull it down into a private method (like ingredient_params), and then use a 'before_action` to make sure it runs before the appropriate methods.

The before_action usually goes on the top of the file, usually right below the class definition. IE:
```ruby
class IngredientsController < ApplicationController
  before_action :set_ingredient, only [:edit, :show, :destroy]
````