Skip to content

Commit bd0f651

Browse files
authored
Merge pull request #679 from jtpfa/patch-1
Update job board update list step
2 parents fc3aa93 + 396d975 commit bd0f651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sites/en/job-board/update_job_listings.step

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ source_code_with_message "Here's what the update method should actually look lik
148148
<<-RUBY
149149
def update
150150
@job = Job.find(params[:id])
151-
@job.update_attributes(job_params)
151+
@job.update(job_params)
152152
redirect_to jobs_path
153153
end
154154
RUBY

0 commit comments

Comments
 (0)