Skip to content

Commit

Permalink
Merge pull request #552 from jalyna/patch-1
Browse files Browse the repository at this point in the history
Fix require path of dependency_tracker in railtie.rb
  • Loading branch information
amatsuda authored Jan 17, 2024
2 parents bada0f1 + 03f8920 commit aa5a272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jbuilder/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Railtie < ::Rails::Railtie
initializer :jbuilder do
ActiveSupport.on_load :action_view do
ActionView::Template.register_template_handler :jbuilder, JbuilderHandler
require 'jbuilder/dependency_tracker'
require 'jbuilder/jbuilder_dependency_tracker'
end

if Rails::VERSION::MAJOR >= 5
Expand Down

0 comments on commit aa5a272

Please sign in to comment.