Sha256: cf6ea3ddbd40f7c92390429574a140c7452d15676cc751cce3187b225240ce78
Contents?: true
Size: 493 Bytes
Versions: 5
Compression:
Stored size: 493 Bytes
Contents
module GeoConcerns module RasterWorksControllerBehavior extend ActiveSupport::Concern included do self.show_presenter = GeoConcerns::RasterWorkShowPresenter end def create super return unless parent_id parent = ActiveFedora::Base.find(parent_id, cast: true) parent.ordered_members << curation_concern.reload parent.save curation_concern.update_index end def form_class GeoConcerns::RasterWorkForm end end end
Version data entries
5 entries across 5 versions & 1 rubygems