-
I have this div as a partial <div class='container post-image'>
<img src='{{format_path post_image}}' class="w-50" >
</div> and this function in my helper folder format_path: path => {
return path.split('public').pop();
}
} the function basically returns "images/xyzxyz.jpeg" for my img src. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It seems like the |
Beta Was this translation helpful? Give feedback.
-
Yes that solved the problem! Thank you!!!!!
… On Mar 8, 2022, at 3:29 PM, Jay Linski ***@***.***> wrote:
It seems like the post_image-variable is missing in your dashboard-view, making it undefined.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
It seems like the
post_image
-variable is missing in your dashboard-view, making itundefined
.