Skip to content

Commit

Permalink
Merge pull request #118 from scientist-softserv/update-submodule-remo…
Browse files Browse the repository at this point in the history
…ve-simple-schema-loader-decorator

⚙️ Update submodule and remove decorator
  • Loading branch information
orangewolf authored Sep 6, 2024
2 parents 0c31855 + 8534651 commit db01662
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
13 changes: 0 additions & 13 deletions app/services/hyrax/simple_schema_loader_decorator.rb

This file was deleted.

2 changes: 2 additions & 0 deletions config/initializers/hyrax.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
# config.enable_ffmpeg = false

# config.branding_path = ENV.fetch('HYRAX_BRANDING_PATH', Rails.root.join('public', 'branding'))

config.simple_schema_loader_config_search_paths.unshift(HykuKnapsack::Engine.root)
end

# Ensure that valid_child_concerns are set with all the curation concerns including
Expand Down
3 changes: 0 additions & 3 deletions lib/hyku_knapsack/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ def self.load_translations!
# omniauthable
# ]
# end

# Ensure we are prepending the Hyrax::SimpleSchemaLoaderDecorator early
Hyrax::SimpleSchemaLoader.prepend(Hyrax::SimpleSchemaLoaderDecorator)
end

config.to_prepare do
Expand Down

0 comments on commit db01662

Please sign in to comment.