Sha256: 1de9592308533846b12c4b99ad74442066b23ed826d520c6ec3cd6330cf7fbe2
Contents?: true
Size: 958 Bytes
Versions: 1
Compression:
Stored size: 958 Bytes
Contents
require 'thredded/engine' require 'cancan' require 'carrierwave' require 'kaminari' require 'friendly_id' require 'nested_form' require 'thredded/filter/base' require 'thredded/filter/at_notification' require 'thredded/filter/attachment' require 'thredded/filter/bbcode' require 'thredded/filter/emoji' require 'thredded/filter/markdown' require 'thredded/filter/textile' require 'thredded/messageboard_user_permissions' require 'thredded/post_user_permissions' require 'thredded/private_topic_user_permissions' require 'thredded/topic_user_permissions' module Thredded mattr_accessor :user_class, :email_incoming_host, :email_from, :email_outgoing_prefix def self.user_class if @@user_class.is_a?(Class) raise 'Please use a string instead of a class' end if @@user_class.is_a?(String) begin Object.const_get(@@user_class) rescue NameError @@user_class.constantize end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thredded-0.0.1 | lib/thredded.rb |