Sha256: e5f60be25e586187a4948af7f5623c83d2e9163330fc50fa4d9aa7463525b263
Contents?: true
Size: 262 Bytes
Versions: 3
Compression:
Stored size: 262 Bytes
Contents
# frozen_string_literal: true require 'action_controller' module Blocks module ControllerExtensions def blocks @blocks ||= Blocks.builder_class.new(view_context) end end end ActionController::Base.send :include, Blocks::ControllerExtensions
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
blocks-4.0.0 | lib/blocks/helpers/controller_extensions.rb |
blocks-4.0.0.rc2 | lib/blocks/helpers/controller_extensions.rb |
blocks-4.0.0.rc1 | lib/blocks/helpers/controller_extensions.rb |