diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/group_memberships_controller.rb | 2 | ||||
-rw-r--r-- | app/controllers/group_permissions_controller.rb | 2 | ||||
-rw-r--r-- | app/controllers/groups_controller.rb | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/app/controllers/group_memberships_controller.rb b/app/controllers/group_memberships_controller.rb index df9f6b3..e0f897b 100644 --- a/app/controllers/group_memberships_controller.rb +++ b/app/controllers/group_memberships_controller.rb @@ -2,6 +2,8 @@ class GroupMembershipsController < ApplicationController load_and_authorize_resource :group load_and_authorize_resource :group_membership, :through => [:group] + before_filter :spread_breadcrumbs + def index end diff --git a/app/controllers/group_permissions_controller.rb b/app/controllers/group_permissions_controller.rb index 3abdc51..dda800e 100644 --- a/app/controllers/group_permissions_controller.rb +++ b/app/controllers/group_permissions_controller.rb @@ -2,6 +2,8 @@ class GroupPermissionsController < ApplicationController load_and_authorize_resource :group load_and_authorize_resource :group_permission, :through => [:group] + before_filter :spread_breadcrumbs + def index end diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 1ab7a4f..74ad7c8 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -1,4 +1,7 @@ class GroupsController < ApplicationController + load_and_authorize_resource :group + before_filter :spread_breadcrumbs + def index @groups = Group.all end |