Better themeing support!!

This commit is contained in:
kibigo!
2017-09-25 19:24:32 -07:00
parent c2b479efec
commit 86e617a839
25 changed files with 117 additions and 50 deletions

View File

@@ -110,6 +110,10 @@ class User < ApplicationRecord
settings.noindex
end
def setting_theme
settings.theme
end
def token_for_app(a)
return nil if a.nil? || a.owner != self
Doorkeeper::AccessToken