Sha256: fd1261635b513f7470ac1259e9d4182df803d181af60d4250ecd682f4e66841a
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
require 'thredded/engine' require 'cancan' require 'carrierwave' require 'griddler' require 'kaminari' require 'friendly_id' require 'nested_form' require 'thredded/email_processor' require 'thredded/errors' 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.3 | lib/thredded.rb |