- Fixed overridding of routes definition of multiple route with same names
- Corrected a bug withing the Pagination widget if there was only one page of result
This commit is contained in:
1 parent
708af80fa2
commit
fd8fa7695e
4 files changed
+54
-18
No files matched your search
@@ -8,20 +8,18 @@ use Notes\Route\Attribute\Object\Route;
|
||||
use Notes\Security\Attribute\Security;
|
||||
use Picea, Picea\Ui\Method\FormContext;
|
||||
use TheBugs\Email\MailerInterface;
|
||||
use Storage\Session;
|
||||
use League\CommonMark\CommonMarkConverter;
|
||||
use Storage\{ Session, Cookie };
|
||||
|
||||
use Psr\Http\Message\{ ServerRequestInterface, ResponseInterface };
|
||||
|
||||
use function file_get_contents;
|
||||
|
||||
#[Security(locked: true, realm: "Protected Area")]
|
||||
#[Security(locked: false, realm: "Protected Area")]
|
||||
#[Route(method: [ "GET", "POST" ])]
|
||||
trait ControllerTrait {
|
||||
public ? \Notes\Breadcrumb\Breadcrumb $breadcrumb;
|
||||
|
||||
public ? Cookie $cookie;
|
||||
|
||||
public ? Session $session;
|
||||
|
||||
public ? Picea\Picea $picea;
|
||||
|
||||
Reference in new issue
Block a user