themessticker, cleanup routes

This commit is contained in:
2014-06-25 23:09:05 +05:30
parent 2ba920331a
commit ee8f2d0076
14 changed files with 208 additions and 263 deletions

View File

@@ -38,7 +38,7 @@ class Ability
can [:show, :index], Lva
can [:show,:index], Gallery
can [:show, :index,:faqs], Themengruppe
can [:show], Thema
can [:show], Thema, :isdraft=>false
can [:create], Beispiel
can [:show, :index], Fetprofile
can [:show, :index],Gremium
@@ -53,7 +53,7 @@ class Ability
if( user.has_role?("fetuser") || user.has_role?("fetadmin"))
can :manage,:all
can :manage, Modulgruppe
can :showdraft , Thema
can [:show,:index], Calendar
can [:edit, :update,:new,:create,:verwalten], Calendar
can [:edit, :update,:new,:create,:verwalten], Calentry