Fix broken access control and refactor avatar upload
This commit moves the note folder from
/public/uploads/note
to
/uploads/note
and changes the uploader accordingly.
Now it's no longer possible to avoid the access control by modifing the url.
The Avatar upload has been refactored to use an own uploader as well
to cleanly seperate the two upload types.
Showing
app/uploaders/avatar_uploader.rb
0 → 100644
uploads/.gitkeep
0 → 100644
Please
register
or
sign in
to comment