Merge branch 'master' into rebased_1530
This commit is contained in:
commit
aebdd66034
12 changed files with 90 additions and 24 deletions
|
|
@ -90,6 +90,10 @@ module Admin
|
|||
update_state(:cancel, 'Booth is canceled')
|
||||
end
|
||||
|
||||
def confirm
|
||||
update_state(:confirm, 'Booth successfully confirmed')
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def update_state(transition, notice)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue