Sha256: 7c2a393285b43b2c64bf637ed326a0219433a319677cea15ee9851c20aa87c6f

Contents?: true

Size: 215 Bytes

Versions: 12

Compression:

Stored size: 215 Bytes

Contents

class User < ActiveRecord::Base
  acts_as_authentic do |c|
    c.crypto_provider = Authlogic::CryptoProviders::BCrypt
  end
  acts_as_muck_user
  has_activities
  
  def can_add_root_content?
    admin?
  end
  
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
muck-contents-0.1.12 test/rails_root/app/models/user.rb
muck-contents-0.1.11 test/rails_root/app/models/user.rb
muck-contents-0.1.10 test/rails_root/app/models/user.rb
muck-contents-0.1.9 test/rails_root/app/models/user.rb
muck-contents-0.1.8 test/rails_root/app/models/user.rb
muck-contents-0.1.7 test/rails_root/app/models/user.rb
muck-contents-0.1.6 test/rails_root/app/models/user.rb
muck-contents-0.1.5 test/rails_root/app/models/user.rb
muck-contents-0.1.4 test/rails_root/app/models/user.rb
muck-contents-0.1.1 test/rails_root/app/models/user.rb
muck-contents-0.1.2 test/rails_root/app/models/user.rb
muck-contents-0.1.3 test/rails_root/app/models/user.rb