18 lines
205 B
Ruby
18 lines
205 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class CountryStatePolicy < ApplicationPolicy
|
||
|
def index?
|
||
|
true
|
||
|
end
|
||
|
|
||
|
def show?
|
||
|
true
|
||
|
end
|
||
|
|
||
|
class Scope < Scope
|
||
|
def resolve
|
||
|
scope.all
|
||
|
end
|
||
|
end
|
||
|
end
|