Initial commit
This commit is contained in:
15
app/policies/blank_contract_policy.rb
Normal file
15
app/policies/blank_contract_policy.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class BlankContractPolicy < ApplicationPolicy
|
||||
def show?
|
||||
true
|
||||
end
|
||||
|
||||
def new?
|
||||
show?
|
||||
end
|
||||
|
||||
def create?
|
||||
show?
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user