Skip to content

Commit

Permalink
1d-10t error
Browse files Browse the repository at this point in the history
  • Loading branch information
loftwah committed Sep 2, 2023
1 parent 87b7310 commit a41d8c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<body
class="<%= (current_user&.background_color.present? || (current_user&.background_image&.attached?)) ? '' : 'bg-dark text-light' %>"
style="<%= 'background-image: url(' + url_for(current_user.background_image) + ');' if current_user&.background_image&.attached? %>
<%= 'background-color:' + current_user.background_color + ';' if current_user&.background_color.present? %>"
<%= 'background-color:' + current_user.background_color + ';' if current_user&.background_color.present? %>">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark shadow-sm px-3">
<div class="d-flex align-items-center">
<% if user_signed_in? %>
Expand Down

0 comments on commit a41d8c9

Please sign in to comment.