<% @url_path = "#{request.fullpath}".scan(/admin/)%> <% if (@site.default_image.present? && (!@url_path.include? "admin"))%> <% end %>