Commit 58d603bd authored by Siddharth Asthana's avatar Siddharth Asthana Committed by Peter Leitzen

Fixing the deprecation warning as using `.` in template has deprecated

Changelog: other
parent 8844e274
...@@ -39,14 +39,14 @@ module AppearancesHelper ...@@ -39,14 +39,14 @@ module AppearancesHelper
if current_appearance&.header_logo? if current_appearance&.header_logo?
image_tag current_appearance.header_logo_path, class: 'brand-header-logo' image_tag current_appearance.header_logo_path, class: 'brand-header-logo'
else else
render 'shared/logo.svg' render partial: 'shared/logo', formats: :svg
end end
end end
# Skip the 'GitLab' type logo when custom brand logo is set # Skip the 'GitLab' type logo when custom brand logo is set
def brand_header_logo_type def brand_header_logo_type
unless current_appearance&.header_logo? unless current_appearance&.header_logo?
render 'shared/logo_type.svg' render partial: 'shared/logo_type', formats: :svg
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment