Merge pull request #2562 from rahul2240/update-button

Add render in update method
This commit is contained in:
Stella Rouzi 2019-07-21 18:29:31 +03:00 committed by GitHub
commit 31ade45529
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,6 +43,7 @@ class BoothsController < ApplicationController
notice: 'Booth successfully updated!'
else
flash.now[:error] = "Booth could not be updated. #{@booth.errors.full_messages.to_sentence}."
render :edit
end
end