Skip to content

Commit

Permalink
Fix autoloading in Rails 7.1 (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillplatonov authored Nov 25, 2023
1 parent 6632986 commit 45ae068
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/polaris/view_components/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ class Engine < ::Rails::Engine

initializer "polaris_view_components.helpers" do
ActiveSupport.on_load(:action_controller_base) do
require "polaris/view_helper"
helper Polaris::ViewHelper

require "polaris/url_helper"
helper Polaris::UrlHelper
end
end
Expand Down

0 comments on commit 45ae068

Please sign in to comment.