lib/dismissible_blocks/engine.rb in dismissible_blocks-0.0.2 vs lib/dismissible_blocks/engine.rb in dismissible_blocks-1.1.0

- old
+ new

@@ -1,4 +1,11 @@ +require 'dismissible_blocks/controllers/helpers' +require 'dismissible_blocks/version' + module DismissibleBlocks class Engine < ::Rails::Engine + config.to_prepare do + ApplicationController.helper(DismissibleBlocksHelper) + ApplicationController.include(DismissibleBlocks::Controllers::Helpers) + end end end