thedevdojo/voyager

MenuItemPolicy fails with edit page urls

オープン

#3,443 opened on 2018/08/03

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)PHP (2,652 件のフォーク)batch import
help wantedtype:enhancement

Repository metrics

Stars
 (11,817 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Version information

  • Laravel: v5.6
  • Voyager: v1.1.3
  • PHP: 7.2

Description

When a route with parameters or a static url which include more than 1 segment added to admin menu, policy fails to check permission because slug fetched wrong (like pages1edit instead of pages)

コントリビューターガイド