mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Corrects typo to avoid error 500 on theme change
This commit is contained in:
parent
d12ba0548c
commit
96f2335c09
@ -301,7 +301,7 @@ class Guardian
|
||||
if is_staff?
|
||||
Theme.theme_keys.include?(theme_key)
|
||||
else
|
||||
Theme.theme_user_keys.include?(theme_key)
|
||||
Theme.user_theme_keys.include?(theme_key)
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user