report_policy.rb (166B)
- # frozen_string_literal: true
- class ReportPolicy < ApplicationPolicy
- def update?
- staff?
- end
- def index?
- staff?
- end
- def show?
- staff?
- end
- end
git clone https://hacktivis.me/git/mastofe.git
report_policy.rb (166B)
- # frozen_string_literal: true
- class ReportPolicy < ApplicationPolicy
- def update?
- staff?
- end
- def index?
- staff?
- end
- def show?
- staff?
- end
- end