Set name from current user to new jobs in form
This commit is contained in:
@@ -7,7 +7,7 @@ class JobsController < ApplicationController
|
||||
|
||||
# GET /jobs/new
|
||||
def new
|
||||
@job = Job.new
|
||||
@job = Job.new(costumer_firstname: current_user.firstname, costumer_lastname: current_user.lastname)
|
||||
end
|
||||
|
||||
# POST /jobs or /jobs.json
|
||||
|
||||
Reference in New Issue
Block a user