diff --git a/lib/better_html/railtie.rb b/lib/better_html/railtie.rb index 328a07a..8e25172 100644 --- a/lib/better_html/railtie.rb +++ b/lib/better_html/railtie.rb @@ -6,9 +6,7 @@ module BetterHtml class Railtie < Rails::Railtie initializer "better_html.better_erb.initialization" do BetterHtml::BetterErb.prepend! - end - config.after_initialize do ActiveSupport.on_load(:action_view) do BetterHtml.config.annotate_rendered_view_with_filenames = ActionView::Base.annotate_rendered_view_with_filenames end