Add booths to admin sidebar

This commit is contained in:
nasia 2017-08-11 15:14:22 +03:00
parent 4c1b56b54f
commit 5e3c445f5e
4 changed files with 15 additions and 1 deletions

View file

@ -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)