|
@@ 147-150 (lines=4) @@
|
| 144 |
|
redirect_to admin_site_settings_path, flash: { success: I18n.t("administrator.flash.settings") } |
| 145 |
|
end |
| 146 |
|
|
| 147 |
|
def coloring_darken |
| 148 |
|
@settings.update_value("Primary Color Darken", params[:color]) |
| 149 |
|
redirect_to admin_site_settings_path, flash: { success: I18n.t("administrator.flash.settings") } |
| 150 |
|
end |
| 151 |
|
|
| 152 |
|
# POST /admins/room_authentication |
| 153 |
|
def room_authentication |
|
@@ 142-145 (lines=4) @@
|
| 139 |
|
redirect_to admin_site_settings_path, flash: { success: I18n.t("administrator.flash.settings") } |
| 140 |
|
end |
| 141 |
|
|
| 142 |
|
def coloring_lighten |
| 143 |
|
@settings.update_value("Primary Color Lighten", params[:color]) |
| 144 |
|
redirect_to admin_site_settings_path, flash: { success: I18n.t("administrator.flash.settings") } |
| 145 |
|
end |
| 146 |
|
|
| 147 |
|
def coloring_darken |
| 148 |
|
@settings.update_value("Primary Color Darken", params[:color]) |