Commit 46d0f8f1 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix tests

parent 9156882f
...@@ -24,7 +24,7 @@ module AppearancesHelper ...@@ -24,7 +24,7 @@ module AppearancesHelper
end end
def brand_header_logo def brand_header_logo
if brand_item.light_logo? if brand_item && brand_item.light_logo?
image_tag brand_item.light_logo image_tag brand_item.light_logo
else else
image_tag 'logo-white.png' image_tag 'logo-white.png'
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
.navbar-inner .navbar-inner
.container .container
%div.app_logo %div.app_logo
- brand_header_logo if brand_item
= link_to root_path, class: "home has_bottom_tooltip", title: "Dashboard" do = link_to root_path, class: "home has_bottom_tooltip", title: "Dashboard" do
= brand_header_logo = brand_header_logo
%h1.title= title %h1.title= title
......
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