about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-09-02 21:01:59 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-09-02 14:01:59 +0200
commit6fd2e8c3c5e3be75b2bcc423bca72a8b3b931f04 (patch)
treeb13f3814155b3614e2df6cbe4c9da96b0ab5b53f /app/views
parent15963a15c6731982f9dd10935931c3051d0da836 (diff)
Fix profile page when use system's font (#4774)
Diffstat (limited to 'app/views')
-rwxr-xr-xapp/views/layouts/application.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 0ba0ffc37..e21fb1ce1 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -34,7 +34,7 @@
 
     = yield :header_tags
 
-  - body_classes ||= @body_classes
+  - body_classes ||= @body_classes || ''
   - body_classes += ' system-font' if current_account&.user&.setting_system_font_ui
 
   %body{ class: add_rtl_body_class(body_classes) }