Skip to content

Commit

Permalink
Use asset_path helper for banner background image (#1270)
Browse files Browse the repository at this point in the history
  • Loading branch information
caitlynl22 authored Dec 17, 2024
1 parent 591588e commit ecbd95d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/adopter_foster_dashboard.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<!-- User info -->
<div class="col-xl-12 col-lg-12 col-md-12 col-12">
<!-- Bg -->
<div class="rounded-top" style="background: url('/assets/background/profile-bg.jpg') no-repeat; background-size: cover; height: 100px;"></div>
<div class="rounded-top" style="background: url('<%= asset_path('background/profile-bg.jpg') %>') no-repeat; background-size: cover; height: 100px;"></div>
<div class="card px-4 pt-2 pb-4 shadow-sm rounded-top-0 rounded-bottom-0 rounded-bottom-md-2">
<div class="d-flex align-items-end justify-content-between">
<div class="d-flex align-items-center">
Expand Down

0 comments on commit ecbd95d

Please sign in to comment.