FIX: actually show the upload avatar modal when allow_uploaded_avatars is true

This commit is contained in:
Régis Hanol 2013-12-06 12:13:24 +01:00
parent 7bb23c8ce8
commit e103176400

View File

@ -8,7 +8,7 @@
**/
Discourse.PreferencesController = Discourse.ObjectController.extend({
allowAvatarUpload: function() {
return Discourse.SiteSetting.allow_uploaded_avatars;
return Discourse.SiteSettings.allow_uploaded_avatars;
}.property(),
// By default we haven't saved anything