Skip to content

Commit

Permalink
missing Loadpath
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Simpson committed Apr 2, 2024
1 parent d8860db commit abfbfea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/hyku_knapsack/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ class Engine < ::Rails::Engine

config.after_initialize do
my_engine_root = HykuKnapsack::Engine.root.to_s

# Append our locales so they have precedence
I18n.load_path += Dir[HykuKnapsack::Engine.root.join("config", "locales", "*.{rb,yml}")]

paths = ActionController::Base.view_paths.collect{|p| p.to_s}

# Remove the Hyrax Orcid JSON Actor as we have our own - this should not be namespaced
Expand Down

0 comments on commit abfbfea

Please sign in to comment.