• Hannes Rosenögger's avatar
    Fix broken access control and refactor avatar upload · 7d5f86f6
    Hannes Rosenögger authored
    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.
    7d5f86f6
avatar_uploader.rb 707 Bytes