Create job.rb
This commit is contained in:
parent
ae99019f64
commit
698968dbfe
1 changed files with 7 additions and 0 deletions
7
app/models/job.rb
Normal file
7
app/models/job.rb
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
class Job < ApplicationRecord
|
||||||
|
belongs_to :party
|
||||||
|
|
||||||
|
def display_resource(class)
|
||||||
|
class.name_en
|
||||||
|
end
|
||||||
|
end
|
||||||
Loading…
Reference in a new issue