diff options
Diffstat (limited to 'app/helpers/dashboard_helper.rb')
-rw-r--r-- | app/helpers/dashboard_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/dashboard_helper.rb b/app/helpers/dashboard_helper.rb index 679622897aa..99ede8c3557 100644 --- a/app/helpers/dashboard_helper.rb +++ b/app/helpers/dashboard_helper.rb @@ -58,6 +58,10 @@ module DashboardHelper links += [:activity, :milestones] end + if can?(current_user, :read_instance_statistics) + links << :analytics + end + links end end |