minor changes

This commit is contained in:
Thomas Blazek
2013-08-21 14:11:53 +02:00
parent 04b91b9f33
commit 24d21df84b
3 changed files with 3 additions and 44 deletions

View File

@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
class Ability
include CanCan::Ability
def initialize(user)
@@ -27,7 +28,7 @@ class Ability
# For Debug allow everything
# Remove this line in production environment and for testing user management
# can :manage, :all
can :manage, :all
can :addfetuser, User
can :addfetadmin, User
can [:show, :index], Studium