Added MealsController#destroy
This commit is contained in:
@@ -44,6 +44,7 @@ class MealsController < ApplicationController
|
||||
end
|
||||
|
||||
def destroy
|
||||
flash[:notice] = 'Deleted meal' if @meal.destroy
|
||||
end
|
||||
|
||||
def edit_notes
|
||||
|
||||
Reference in New Issue
Block a user