Cross Reference:
xref
: /
ontohub
/
app
/
uploaders
/
ontology_uploader.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
ontology_uploader.rb revision 3cd45197413df1ff1401697720f1ac9ccef8f8ee
class
OntologyUploader
<
CarrierWave
::
Uploader
::
Base
storage
:
file
def
store_dir
"uploads/#{
model.class.to_s.underscore
}/#{mounted_as}/#{
model.id
}"
end
# XML is white-listed here to avoid another Uploader.
def
extension_white_list
%w
(
owl
clif
)
+ %w
(
xml
)
end
end