Remove obsolete code
This commit is contained in:
@@ -959,13 +959,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.image-form {
|
||||
|
||||
.note-marked p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.investment-project-show .supports,
|
||||
.budget-investment-show .supports {
|
||||
border: 0;
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user