Sha256: 659c6c64b739afdfc2a6014bd02edb8b2d6dfaeb0d98f03b9cb91ad89570dead
Contents?: true
Size: 454 Bytes
Versions: 8
Compression:
Stored size: 454 Bytes
Contents
# Dummy application configuration file Commontator.configure do |config| config.javascript_proc = lambda { |view| '// Some javascript' } config.user_name_proc = lambda { |user| user.try(:name) || 'Anonymous' } config.thread_read_proc = lambda { |thread, user| user && user.can_read } config.thread_moderator_proc = lambda { |thread, user| user.is_admin || user.can_edit } config.comment_voting = :ld config.thread_subscription = :m end
Version data entries
8 entries across 8 versions & 1 rubygems