1
0
This repository has been archived on 2023-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
body_tracking/app/controllers/ingredients_controller.rb
2019-09-13 14:48:43 +02:00

16 lines
285 B
Ruby

class IngredientsController < ApplicationController
before_action :find_project_by_project_id, only: [:index, :create]
before_action :authorize
def index
@ingredient = Ingredient.new
@ingredients = @project.ingredients
end
def create
end
def destroy
end
end