Rubocop style update with some files
This commit is contained in:
@@ -14,6 +14,11 @@ class Operator::JobsController < ApplicationController
|
|||||||
@job = Job.new
|
@job = Job.new
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def egal
|
||||||
|
asdf
|
||||||
|
ddfd
|
||||||
|
end
|
||||||
|
|
||||||
# GET /jobs/1/edit
|
# GET /jobs/1/edit
|
||||||
def edit; end
|
def edit; end
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
class User < ApplicationRecord
|
class User < ApplicationRecord
|
||||||
has_many :jobs_as_costumer, foreign_key: :costumer_id, class_name: 'Job'
|
has_many :jobs_as_costumer, foreign_key: :costumer_id, class_name: "Job"
|
||||||
has_many :jobs_as_operator, foreign_key: :operator_id, class_name: 'Job'
|
has_many :jobs_as_operator, foreign_key: :operator_id, class_name: "Job"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user