mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Merge pull request #2562 from rahul2240/update-button
Add render in update method
This commit is contained in:
commit
31ade45529
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue