diff --git a/app/controllers/files_controller.rb b/app/controllers/files_controller.rb index 9671245d3f4605c9c554929d8ac989bfb7b2d729..a130bcba9c96498f561cc2ffd88c0c2eb58c31ae 100644 --- a/app/controllers/files_controller.rb +++ b/app/controllers/files_controller.rb @@ -1,4 +1,6 @@ class FilesController < ApplicationController + skip_before_filter :authenticate_user!, :reject_blocked + def download note = Note.find(params[:id]) uploader = note.attachment