summaryrefslogtreecommitdiff
path: root/app/controllers/groups_controller.rb
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-02-22 13:08:46 -0500
committerPeter Kozak <spag@golwen.net>2013-02-22 13:08:46 -0500
commit0eb056b92e9eaf091146c13dcb3fdc9d7fb34baf (patch)
treefc37837be07aa720c7be38668f2a1de253417526 /app/controllers/groups_controller.rb
parent2a9b798f9e122582abb36605a7d4a1da0e70eca9 (diff)
breadcrumbs
Diffstat (limited to 'app/controllers/groups_controller.rb')
-rw-r--r--app/controllers/groups_controller.rb3
1 files changed, 3 insertions, 0 deletions
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