Skip to content
Snippets Groups Projects
Commit eb4845f4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets Committed by Marin Jankovski
Browse files

Fix access to attachments uploaded with 'Choose file' button for public

access
parent b313c8f5
No related branches found
No related tags found
No related merge requests found
class FilesController < ApplicationController
skip_before_filter :authenticate_user!, :reject_blocked
def download
note = Note.find(params[:id])
uploader = note.attachment
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment