Lots of styling; avatars, payment methods, and more.

This commit is contained in:
2013-01-26 02:21:41 -07:00
parent 8ab6fa10ea
commit 1865123201
21 changed files with 147 additions and 18 deletions

View File

@@ -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

View File

@@ -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