CakePHP 4 - Redirecting back to the correct index page on Delete and Edit

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025
  • This video is a CakePHP 4 way of achieving a redirect back to the current page when deleting or editing a record or the previous page if deleting the last record on the last page.
    Inspired by Povilas Korop's video: • Laravel Pagination Aft...

Комментарии • 2

  • @l1ghtKn1ght
    @l1ghtKn1ght Год назад

    Hello James. What appends if, as you're editing, you decide to delete, by using the button on the left navigation bar ? I guess you'll have a page parameter problem... :

    • @l1ghtKn1ght
      @l1ghtKn1ght Год назад

      I answer to myself, No problem occurs8