Purged git history and removed sensitive information.

This commit is contained in:
Luke Barratt 2014-03-23 00:22:25 +00:00
commit 6bcc8dc76b
862 changed files with 25312 additions and 0 deletions

12
app/models/lock.rb Normal file
View file

@ -0,0 +1,12 @@
class Lock < ActiveRecord::Base
include Extra
belongs_to :lockable, :polymorphic => true
def can_create? cuser
cuser and cuser.admin?
end
def can_destroy? cuser
cuser and cuser.admin?
end
end