redirect to the relevant sub page after updating application settings

This commit is contained in:
Martin Wortschack 2018-09-05 11:22:18 +02:00
parent 7a6980659e
commit be41338b66

View file

@ -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