Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9993 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
8a3126e175
commit
5097f51784
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue