1
0

Moved notes form from div to td

This commit is contained in:
cryptogopher
2020-04-19 21:34:24 +02:00
parent 3706206191
commit 03d0a56474
6 changed files with 15 additions and 16 deletions

View File

@@ -41,7 +41,7 @@ class MealsController < ApplicationController
def update_notes
if @meal.update(params.require(:meal).permit(:notes))
flash[:notice] = 'Updated meal notes'
flash[:notice] = 'Updated meal notes' unless @meal.previous_changes.empty?
end
end