Add booths to admin sidebar

This commit is contained in:
nasia 2017-08-11 15:14:22 +03:00 committed by Stella Rouzi
parent 835859e350
commit 834e9d96e4
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)