mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
moderators now have teeth, more at http://meta.discourse.org/t/moderator-permission-set/6307/5
allow pms to be targetted at groups
This commit is contained in:
@@ -34,6 +34,10 @@ module ApplicationHelper
|
||||
current_user.try(:admin?)
|
||||
end
|
||||
|
||||
def moderator?
|
||||
current_user.try(:moderator?)
|
||||
end
|
||||
|
||||
# Creates open graph and twitter card meta data
|
||||
def crawlable_meta_data(opts=nil)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user