Rails and Paperclip, default_url not working

后端 未结 1 1531
灰色年华
灰色年华 2020-12-12 03:31

I\'m using paperclip for uploading profile pictures. When someone does not upload an image I want a default image to be assigned to the user instead.

I\'m using this

相关标签:
1条回答
  • 2020-12-12 04:28

    Ommit the /images/ instead do this /assets/male.jpg or /assets/original/male.jpg

    Hope that help you out.

    0 讨论(0)
提交回复
热议问题