Rescued Nil

This commit is contained in:
saurabhbhatia 2013-12-09 16:36:28 +08:00
parent ba8ce81195
commit 513a8e3c20
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<header class="header" data-role="header" style="background-image: -webkit-linear-gradient(top, #{@site.mobile_bar_color.first}, #{@site.mobile_bar_color.second});">
<header class="header" data-role="header" style="background-image: -webkit-linear-gradient(top, <%= @site.mobile_bar_color.first if @site.mobile_bar_color%>, <%= @site.mobile_bar_color.second if @site.mobile_bar_color%>);">
<h1 class="openmenu">
<% if @site.mobile_icon.present?%>
<%= image_tag( @site.mobile_icon, :size=>"120x120") rescue '' %>