gitlabhq/app/helpers/issues_helper.rb

8 lines
158 B
Ruby
Raw Normal View History

2011-10-08 23:36:38 +02:00
module IssuesHelper
2011-11-07 21:48:55 +01:00
def sort_class
if can?(current_user, :admin_issue, @project) && (!params[:f] || params[:f] == "0")
"handle"
end
end
2011-10-08 23:36:38 +02:00
end