Skip to content

Add active_when helper

What does this MR do?

Add active_when helper, to change: %li{ class: (klass == Gitlab::GitLogger ? 'active' : '') } => %li{ class: active_when(klass == Gitlab::GitLogger) }

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/24036

Merge request reports