Skip to content

Commit

Permalink
Merge pull request #43 from curationexperts/fix_path
Browse files Browse the repository at this point in the history
Fix layout rendering error
  • Loading branch information
mark-dce authored Dec 1, 2021
2 parents fddbb6c + 3959091 commit 111cd07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/shared/_appearance_styles.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}

.preview-logo {
background-image: url("<%= url_for(theme&.logo) if theme&.logo&.attached? %>");
background-image: url("<%= Rails.application.routes.url_helpers.rails_blob_path(theme&.logo, {only_path: true}) if theme&.logo&.attached? %>");
}
.preview-navbar-header {
width: 100%;
Expand Down

0 comments on commit 111cd07

Please sign in to comment.