8 lines
236 B
Ruby
8 lines
236 B
Ruby
# app/policies/planilha_simpli_route_policy.rb
|
|
#
|
|
# Policy headless (`authorize :planilha_simpli_route`).
|
|
class PlanilhaSimpliRoutePolicy < ApplicationPolicy
|
|
def show? = pode?('admin.planilha_simpli_route')
|
|
def baixar? = show?
|
|
end
|