Sha256: f756dbf9c9c1649df42425411e503073e9b43576e42a8dfc4458238cb2dfeac1
Contents?: true
Size: 445 Bytes
Versions: 6
Compression:
Stored size: 445 Bytes
Contents
# frozen_string_literal: true module MetaTags class Railtie < Rails::Railtie initializer 'meta_tags.setup_action_controller' do ActiveSupport.on_load :action_controller do ActionController::Base.include MetaTags::ControllerHelper end end initializer 'meta_tags.setup_action_view' do ActiveSupport.on_load :action_view do ActionView::Base.include MetaTags::ViewHelper end end end end
Version data entries
6 entries across 6 versions & 1 rubygems