Skip to content

Commit

Permalink
Update urls
Browse files Browse the repository at this point in the history
  • Loading branch information
CaitBarnard committed Nov 28, 2024
1 parent f846a98 commit a8146c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion front_end/src/Components/EditPayroll/VacancyRow/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const VacancyRow = ({ row, onTogglePayPeriods }) => {
<td className="govuk-table__header">
<a
className="govuk-button govuk-button--secondary govuk-!-margin-0"
href={`vacancies/edit/${row.id}`}
href={`vacancies/${row.id}/edit`}
>
Edit
</a>
Expand Down
4 changes: 2 additions & 2 deletions payroll/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
name="add_vacancy",
),
path(
"edit/<str:cost_centre_code>/<int:financial_year>/vacancies/edit/<int:vacancy_id>",
"edit/<str:cost_centre_code>/<int:financial_year>/vacancies/<int:vacancy_id>/edit",
views.edit_vacancy_page,
name="edit_vacancy",
),
path(
"edit/<str:cost_centre_code>/<int:financial_year>/vacancies/delete/<int:vacancy_id>",
"edit/<str:cost_centre_code>/<int:financial_year>/vacancies/<int:vacancy_id>/delete",
views.delete_vacancy_page,
name="delete_vacancy",
),
Expand Down

0 comments on commit a8146c1

Please sign in to comment.