Add theme selector to preferences and return the previous black theme as an alternative

This commit is contained in:
Jyri-Petteri Paloposki 2020-08-20 02:37:55 +03:00
parent 2e9a0d2b4c
commit 9982217ee9
18 changed files with 64 additions and 22 deletions

View file

@ -1,10 +1,12 @@
class LoginController < ApplicationController
include Common
layout 'login'
skip_before_action :set_session_expiration
skip_before_action :login_required
before_action :login_optional
before_action :get_current_user
before_action :set_theme
protect_from_forgery :except => [:check_expiry, :login]