headwayio / voyage

A Rails template with our standard defaults, ready to deploy to Heroku. **See readme in: lib/voyage/README.md**
https://headway.io/voyage
MIT License
0 stars 1 forks source link

User Profile Picture Handling #50

Closed GeekOnCoffee closed 6 years ago

GeekOnCoffee commented 6 years ago

We've got Shrine in place, pull in an uploader and add the views for Profile Picture upload out of the box

GeekOnCoffee commented 6 years ago

I've added the column and the administrate control, we just need to add the frontend view.

GeekOnCoffee commented 6 years ago
<%= f.input :photo, as: :hidden, input_html: {value: @user.cached_photo_data} %>
  <%= f.input :photo, as: :file %>

@noahsettersten I think this is all we need on the profile page, I can make the change, but I think it would conflict with an item you've got open