Merge pull request #579 from gazvoda/lg-SCI-1214

Tab Teams is highlighted when in Audit trails [fixes SCI-1214]
This commit is contained in:
mz3944 2017-04-28 12:08:32 +02:00 committed by GitHub
commit ca72133e2b

View file

@ -13,7 +13,7 @@ module UserSettingsHelper
end
def on_settings_team_page?
controller_name == 'teams' &&
action_name.in?(%w(index new create show))
controller_name.in?(%w(teams audits)) &&
action_name.in?(%w(index new create show audits_index))
end
end