Commit f7c94822 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

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

access
parent 5e2098fe
class FilesController < ApplicationController
skip_before_filter :authenticate_user!, :reject_blocked
def download
note = Note.find(params[:id])
uploader = note.attachment
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment