Class: FlyAdmin::SettingsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/fly_admin/settings_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#authenticate_admin!

Instance Method Details

#indexObject



4
5
# File 'app/controllers/fly_admin/settings_controller.rb', line 4

def index
end

#updateObject



7
8
9
10
# File 'app/controllers/fly_admin/settings_controller.rb', line 7

def update
  toggle_daemon
  redirect_to categories_path, alert: "Настройки успешно сохранены"
end