gitlabhq/app/helpers/issues_helper.rb
2011-11-07 22:48:55 +02:00

8 lines
158 B
Ruby

module IssuesHelper
def sort_class
if can?(current_user, :admin_issue, @project) && (!params[:f] || params[:f] == "0")
"handle"
end
end
end