class SycamoreStorageAttachmentsController < ApplicationController
  def show
    send_file attachment.file_path, filename: attachment.filename
  end

  private
    def attachment
      @attachment ||= current_school.sycamore_storage_attachments.find(params[:id])
    end
end
