redirect to the relevant sub page after updating application settings
This commit is contained in:
parent
7a6980659e
commit
be41338b66
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class Admin::ApplicationSettingsController < Admin::ApplicationController
|
|||
.execute
|
||||
|
||||
if successful
|
||||
redirect_to admin_application_settings_path,
|
||||
redirect_to request.referer,
|
||||
notice: 'Application settings saved successfully'
|
||||
else
|
||||
render :show
|
||||
|
|
Loading…
Reference in a new issue