Skip to content

Commit

Permalink
Address the change of ActionView::Base.new in Rails 6
Browse files Browse the repository at this point in the history
Same change as rails#304
  • Loading branch information
mishina2228 committed Jun 8, 2022
1 parent c4248bc commit 1c40423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web_console/testing/fake_middleware.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def call(env)
end

def view
@view = View.new(@view_path)
@view = View.with_empty_template_cache.with_view_paths(@view_path)
end

private
Expand Down

0 comments on commit 1c40423

Please sign in to comment.