Renamed job associations for operator and costumer

This commit is contained in:
2024-10-02 09:04:17 +02:00
parent 5237ab9af6
commit e2cf5bb19e
9 changed files with 23 additions and 26 deletions

View File

@@ -21,7 +21,7 @@
</tr>
</thead>
<tbody id='jobs' class="divide-y divivde-gray-300">
<%= render partial: "jobs/job_tr", collection: @user.created_jobs.order(created_at: :desc).limit(10), as: :job, locals: { no_actions: true } %>
<%= render partial: "jobs/job_tr", collection: @user.costumer_jobs.order(created_at: :desc).limit(10), as: :job, locals: { no_actions: true } %>
</tbody>
</table>
</div>