users: add dark mode account setting (fix #4158).

This commit is contained in:
evazion
2019-09-19 13:20:06 -05:00
parent ca4cba7635
commit bf51d68f15
6 changed files with 20 additions and 11 deletions

View File

@@ -101,7 +101,7 @@ class UsersController < ApplicationController
permitted_params = %i[
password old_password password_confirmation email
comment_threshold default_image_size favorite_tags blacklisted_tags
time_zone per_page custom_style
time_zone per_page custom_style theme
receive_email_notifications always_resize_images enable_post_navigation
new_post_navigation_layout enable_privacy_mode