1
0

Added MealsController#destroy

This commit is contained in:
cryptogopher
2020-04-24 00:54:32 +02:00
parent dfeb9af6db
commit 5ab17cf69b
4 changed files with 7 additions and 2 deletions

View File

@@ -44,6 +44,7 @@ class MealsController < ApplicationController
end
def destroy
flash[:notice] = 'Deleted meal' if @meal.destroy
end
def edit_notes