Sha256: 162a305108bf6086dd575d45f4b1a9a41c770c28b6cb700725368fa4d190f13c

Contents?: true

Size: 676 Bytes

Versions: 2

Compression:

Stored size: 676 Bytes

Contents

require 'state_machine'
require 'state_machine/version'

require 'the_simple_sort'
require 'the_sortable_tree'

require 'the_comments/config'
require 'the_comments/version'

module TheComments
  COMMENTS_COOKIES_TOKEN = 'JustTheCommentsCookies'

  class Engine < Rails::Engine
    config.autoload_paths += Dir["#{config.root}/app/controllers/concerns/**/"]
    config.autoload_paths += Dir["#{config.root}/app/models/concerns/**/"]
  end
end

# Loading of concerns
_root_ = File.expand_path('../../',  __FILE__)
require "#{_root_}/config/routes.rb"

if StateMachine::VERSION.to_f <= 1.2
  module StateMachine::Integrations::ActiveModel
    public :around_validation
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
fuck_comments-2.3.4 lib/the_comments.rb
the_comments_ruby-2.3.4 lib/the_comments.rb