require "active-fedora" class GenericObject < ::ActiveFedora::Base extend ActiveModel::Callbacks include ::ActiveFedora::Finders include ::ActiveFedora::DatastreamCollections include ::Hydra::ModelMethods include Cul::Scv::Hydra::ActiveFedora::Model::Common include Cul::Scv::Hydra::ActiveFedora::Model::Aggregator alias :file_objects :resources def route_as "multipartitem" end end