diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-07-13 22:49:47 +0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-07-20 18:11:37 +0300 |
commit | 323d796a0e7b5f1ef5a170f9918897f6a2d4121e (patch) | |
tree | 73a2939ff4a647e00c251171f3c8094acba355e0 /app/controllers/admin | |
parent | ede048b930b2ceb89013793d878524eb20248d1f (diff) |
Refactor service settings view
Diffstat (limited to 'app/controllers/admin')
-rw-r--r-- | app/controllers/admin/services_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/services_controller.rb b/app/controllers/admin/services_controller.rb index 9d6287f3b61..7c37f3155da 100644 --- a/app/controllers/admin/services_controller.rb +++ b/app/controllers/admin/services_controller.rb @@ -15,7 +15,7 @@ class Admin::ServicesController < Admin::ApplicationController end def update - if service.update_attributes(application_services_params[:service]) + if service.update_attributes(service_params[:service]) redirect_to admin_application_settings_services_path, notice: 'Application settings saved successfully' else |