Class: Managers::RegistrationsController

Inherits:
Devise::RegistrationsController
  • Object
show all
Defined in:
app/controllers/managers/registrations_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



6
7
8
# File 'app/controllers/managers/registrations_controller.rb', line 6

def create
  redirect_to root_path, alert: 'Регистрация закрыта'
end

#destroyObject



18
19
20
# File 'app/controllers/managers/registrations_controller.rb', line 18

def destroy
  redirect_to root_path, alert: 'Регистрация закрыта'
end

#editObject



10
11
12
# File 'app/controllers/managers/registrations_controller.rb', line 10

def edit
  redirect_to root_path, alert: 'Регистрация закрыта'
end

#newObject



2
3
4
# File 'app/controllers/managers/registrations_controller.rb', line 2

def new
  redirect_to root_path, alert: 'Регистрация закрыта'
end

#updateObject



14
15
16
# File 'app/controllers/managers/registrations_controller.rb', line 14

def update
  redirect_to root_path, alert: 'Регистрация закрыта'
end