adds moderation to comments and debates [#136]
This commit is contained in:
7
app/helpers/abilities_helper.rb
Normal file
7
app/helpers/abilities_helper.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
module AbilitiesHelper
|
||||
|
||||
def moderator?
|
||||
current_user.try(:moderator?)
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user