Returns:
2 3 4
# File 'app/policies/search_history_policy.rb', line 2 def index? true if user.try(:has_role?, 'User') end