Code cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9993 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-07-15 15:37:49 +00:00
parent 8a3126e175
commit 5097f51784
1 changed files with 1 additions and 3 deletions

View File

@ -18,9 +18,7 @@
class WorkflowsController < ApplicationController class WorkflowsController < ApplicationController
layout 'admin' layout 'admin'
before_filter :require_admin before_filter :require_admin, :find_roles, :find_trackers
before_filter :find_roles
before_filter :find_trackers
def index def index
@workflow_counts = WorkflowTransition.count_by_tracker_and_role @workflow_counts = WorkflowTransition.count_by_tracker_and_role