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
2020-04-18 01:22:21 +02:00

11 lines
234 B
Ruby

class IngredientsController < ApplicationController
include Concerns::Finders
before_action :find_ingredient, only: [:adjust]
before_action :authorize
def adjust
params.require(:ingredient).permit(:adjustment)
end
end