Merge pull request #4813 from davidtaylorhq/theme_keys_fix

FIX: Corrects typo to avoid error 500 on theme change
This commit is contained in:
Jeff Atwood 2017-04-14 17:25:15 -07:00 committed by GitHub
commit dae3f9a69e
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ class Guardian
if is_staff? if is_staff?
Theme.theme_keys.include?(theme_key) Theme.theme_keys.include?(theme_key)
else else
Theme.theme_user_keys.include?(theme_key) Theme.user_theme_keys.include?(theme_key)
end end
end end