diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-12-23 17:14:18 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-12-23 17:14:18 -0500 |
commit | 5a3b9c97e34ee69312ef9bcf575894a106c5a271 (patch) | |
tree | 50246b43588527a45dc950d53fba200e9a8f8acc /app | |
parent | b26eb782f5536d8c383aebe3d65571fb16a20bcd (diff) | |
download | gitlab-ce-5a3b9c97e34ee69312ef9bcf575894a106c5a271.tar.gz |
Account for `@project.description` being nil
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/page_layout_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/page_layout_helper.rb b/app/helpers/page_layout_helper.rb index 6b16528dde6..c4eb09bea2b 100644 --- a/app/helpers/page_layout_helper.rb +++ b/app/helpers/page_layout_helper.rb @@ -40,7 +40,7 @@ module PageLayoutHelper # a view def page_description_default if @project - @project.description + @project.description || brand_title else brand_title end |