Skip to content

Commit

Permalink
Highlight 'Groups' tab when selected in admin screen.
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyken committed Jul 27, 2012
1 parent 4e5e2cf commit 54fc4a1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions app/controllers/admin/groups_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
# Fat Free CRM
# Copyright (C) 2008-2011 by Michael Dvorkin
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#------------------------------------------------------------------------------

class Admin::GroupsController < Admin::ApplicationController
before_filter "set_current_tab('admin/groups')", :only => [ :index, :show ]

load_resource

Expand Down

0 comments on commit 54fc4a1

Please sign in to comment.