Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

2 0 improves #88

Merged
merged 13 commits into from
Nov 30, 2021
Merged

2 0 improves #88

merged 13 commits into from
Nov 30, 2021

Conversation

Insolita
Copy link
Collaborator

@Insolita Insolita commented Nov 20, 2021

'prefix' => ''

'prefix' will be ignored, example url-rule pattern '/prefix/blog/post' => 'blog/post'

'prefix' => ['namespace' =>'app\modules\prefix\controllers']

the controller will be generated with a defined namespace, path resolved accordingly namespace, example url-rule pattern '/prefix/blog/post' => 'prefix/blog/post'

'prefix' => ['namespace' =>'app\modules\prefix\controllers', 'path' => '@app/backend/prefix/controllers']

the controller will be generated with a defined namespace and located by path

'prefix' => ['namespace' =>'app\modules\secret\controllers', 'module' => 'secret']
example url-rule pattern '/prefix/blog/post' => 'secret/blog/post'

(special action naming not implemented yet)

@cebe cebe added enhancement New feature or request generator-feature Functionality missing from the generator labels Nov 20, 2021
@cebe cebe added this to the 2.0 milestone Nov 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request generator-feature Functionality missing from the generator
Projects
None yet
2 participants