Sha256: d9e7e690648839f49e79d30886a06d7823340e5ebb83cc517963df3f2345e0f9

Contents?: true

Size: 307 Bytes

Versions: 2

Compression:

Stored size: 307 Bytes

Contents

require 'muck_comments'
require 'rails'

module MuckComments
  class Engine < ::Rails::Engine
    
    def muck_name
      'muck-comments'
    end
    
    initializer 'muck_comments.helpers' do
      ActiveSupport.on_load(:action_view) do
        include MuckCommentsHelper
      end
    end
    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
muck-comments-3.0.1 lib/muck_comments/engine.rb
muck-comments-3.0.0 lib/muck_comments/engine.rb