diff options
author | Peter Kozak <spag@golwen.net> | 2013-02-22 13:08:46 -0500 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-02-22 13:08:46 -0500 |
commit | 0eb056b92e9eaf091146c13dcb3fdc9d7fb34baf (patch) | |
tree | fc37837be07aa720c7be38668f2a1de253417526 /app | |
parent | 2a9b798f9e122582abb36605a7d4a1da0e70eca9 (diff) |
breadcrumbs
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 |