-
Notifications
You must be signed in to change notification settings - Fork 4
Controllers
Aleksey Ilyin edited this page May 26, 2023
·
3 revisions
All controllers have their own name according to a given pattern:
[layer]:[entity]{:[subentity]}:[action], where:
-
layer- one of:auth,common,cuporapi; -
entity- model name; -
subentity- sub model name; -
action- produced action (most oftenlist,add,edit,deleterepeatingCRUD).
Example:
api:entity, auth:logout, cup:user:list, cup:user:subscriber:add, common:user:register, common:catalog:list
Information
Usage
For developers