From 0eb056b92e9eaf091146c13dcb3fdc9d7fb34baf Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Fri, 22 Feb 2013 13:08:46 -0500 Subject: breadcrumbs --- app/controllers/groups_controller.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/controllers/groups_controller.rb') 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 -- cgit v1.2.3