# frozen_string_literal: true require "talkie/version" require "talkie/engine" require "awesome_nested_set" module Talkie @@default_comments_scope = -> { order(created_at: :desc) } mattr_accessor :default_comments_scope @@comment_creator_handler = :email mattr_accessor :comment_creator_handler @@creator_path = lambda { |_user, _router| "#" } mattr_accessor :creator_path @@creator_avatar_url = lambda { |_user| "//api.adorable.io/avatars/40/abott@adorable.png" } mattr_accessor :creator_avatar_url def self.configure yield self end end require "talkie/acts_as_talker" require "talkie/acts_as_commentable" require "talkie/permission" require "talkie/controller" require "talkie/renderer_helper"