2019-08-14 09:48:44 +00:00
|
|
|
class ContactPolicy < ApplicationPolicy
|
|
|
|
def index?
|
2020-05-26 17:08:48 +00:00
|
|
|
true
|
2019-08-14 09:48:44 +00:00
|
|
|
end
|
|
|
|
|
2020-10-05 18:00:27 +00:00
|
|
|
def active?
|
|
|
|
true
|
|
|
|
end
|
|
|
|
|
2020-08-10 06:45:29 +00:00
|
|
|
def search?
|
|
|
|
true
|
|
|
|
end
|
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
def update?
|
2020-05-26 17:08:48 +00:00
|
|
|
true
|
2019-08-14 09:48:44 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def show?
|
2020-05-26 17:08:48 +00:00
|
|
|
true
|
2019-08-14 09:48:44 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def create?
|
2019-10-20 08:47:26 +00:00
|
|
|
true
|
2019-08-14 09:48:44 +00:00
|
|
|
end
|
|
|
|
end
|