Lots of styling; avatars, payment methods, and more.
This commit is contained in:
@@ -17,7 +17,7 @@ class Ability
|
||||
# Instructors can manage certs and see users
|
||||
if user.instructor?
|
||||
can :manage, Certification
|
||||
can [:create,:read], User
|
||||
can [:create,:read], User, :hidden => [nil,false]
|
||||
can :manage, UserCertification
|
||||
end
|
||||
# Users can see others' stuff if they've been oriented
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
class User < ActiveRecord::Base
|
||||
include Gravtastic
|
||||
gravtastic :size => 120, :default => ""
|
||||
|
||||
# Include default devise modules. Others available are:
|
||||
# :token_authenticatable, :confirmable,
|
||||
# :lockable, :timeoutable and :omniauthable
|
||||
|
||||
Reference in New Issue
Block a user