about summary refs log tree commit diff
path: root/app/policies/dashboard_policy.rb
blob: 3df1c3088b554011a4fadf29c2ac0a3504188ef9 (plain) (blame)
1
2
3
4
5
6
7
# frozen_string_literal: true

class DashboardPolicy < ApplicationPolicy
  def index?
    role.can?(:view_dashboard)
  end
end