forked from External/greenlight
GRN2-xx: Cleaned up Javascript Complaints from Scrutinizer (#557)
* First step * Fix flash issue
This commit is contained in:
committed by
Jesus Federico
parent
cb939735bc
commit
78c9903f7c
@ -111,7 +111,7 @@ class AdminsController < ApplicationController
|
||||
# POST /admins/branding
|
||||
def branding
|
||||
@settings.update_value("Branding Image", params[:url])
|
||||
redirect_to admins_path, flash: { success: I18n.t("administrator.flash.settings.image") }
|
||||
redirect_to admins_path, flash: { success: I18n.t("administrator.flash.settings") }
|
||||
end
|
||||
|
||||
# POST /admins/color
|
||||
|
Reference in New Issue
Block a user