Sha256: 0abff592a56194d35561f1f49849706494cdecc7539a2aa3c8bdb3baa8792211
Contents?: true
Size: 424 Bytes
Versions: 9
Compression:
Stored size: 424 Bytes
Contents
module Rabl class Railtie < Rails::Railtie initializer "rabl.initialize" do |app| ActiveSupport.on_load(:action_view) do Rabl.register! # Inject dependency tracker for :rabl if Rails.version =~ /^[4]/ require 'action_view/dependency_tracker' ActionView::DependencyTracker.register_tracker :rabl, Rabl::Tracker end end end end # Railtie end # Rabl
Version data entries
9 entries across 9 versions & 2 rubygems