Update app/models/gather.rb

This commit is contained in:
b 2018-11-15 21:16:04 +01:00
parent 8fc0852226
commit f6ca786c0e

View file

@ -181,11 +181,11 @@ class Gather < ActiveRecord::Base
end end
def can_create? cuser def can_create? cuser
cuser and cuser.admin? return true if cuser.admin? or cuser.gather_moderator?
end end
def can_update? cuser def can_update? cuser
cuser and cuser.admin? return true if cuser and cuser.admin? or cuser.gather_moderator?
end end
def self.last(name = "NS2") def self.last(name = "NS2")