Skip to content

Commit

Permalink
Merge pull request solidusio#7 from JuulLabs/missing-load-hooks
Browse files Browse the repository at this point in the history
Add missing load hooks
  • Loading branch information
katafrakt authored Dec 19, 2019
2 parents c8c8fa1 + bb4345b commit dd70729
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ def validate_promotion_action_type
end
end
end

ActiveSupport.run_load_hooks('Spree::Admin::PromotionActionsController', Spree::Admin::PromotionActionsController)
2 changes: 2 additions & 0 deletions core/app/models/spree/log_entry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ def parsed_details
end
end
end

ActiveSupport.run_load_hooks('Spree::LogEntry', Spree::LogEntry)

0 comments on commit dd70729

Please sign in to comment.