Remove obsolete code

This commit is contained in:
Senén Rodero Rodríguez
2017-09-25 11:31:42 +02:00
parent 2854c0b683
commit 5deb07328b
2 changed files with 0 additions and 15 deletions

View File

@@ -46,12 +46,4 @@ class DirectUploadsController < ApplicationController
:attachment, :cached_attachment, attachment_attributes: [])
end
def set_attachment_container_resource
@container_resource = params[:resource_type]
end
def find_attachment_container_resource
@uplo = params[:documentable_type].constantize.find_or_initialize_by(id: params[:documentable_id])
end
end