app/helpers/hyrax/file_set_helper.rb in hyrax-3.0.0.pre.rc1 vs app/helpers/hyrax/file_set_helper.rb in hyrax-3.0.0.pre.rc2

- old
+ new

@@ -1,7 +1,8 @@ +# frozen_string_literal: true module Hyrax::FileSetHelper def parent_path(parent) - if parent.is_a?(Collection) + if parent.is_a?(::Collection) main_app.collection_path(parent) else polymorphic_path([main_app, parent]) end end