From 96f2335c09264aae7fa8e0c6e6dd8315c72822e8 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Sat, 15 Apr 2017 01:21:53 +0100 Subject: [PATCH] FIX: Corrects typo to avoid error 500 on theme change --- lib/guardian.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/guardian.rb b/lib/guardian.rb index 1f00960b9b..9bd211e498 100644 --- a/lib/guardian.rb +++ b/lib/guardian.rb @@ -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