yii-multilanguage icon indicating copy to clipboard operation
yii-multilanguage copied to clipboard

GII can't show diff for model generator

Open Deele opened this issue 10 years ago • 0 comments

When you open model generator, select existing model, preview and then activate "diff" option, it sends ajax request to server

/en/gii/model/0/diff

And it loads the same page in dialog, while diff output expected.

My current solution is following URL rule

'<module:\w+>/<controller:\w+>/<action:[\w-]+>/id/<id:\d+>' => '<module>/<controller>/<action>'

or to be more precise

'gii/<controller:\w+>/<action:[\w-]+>/id/<id:\d+>' => 'gii/<controller>/<action>'

But this needs to be fixed in different way.

Deele avatar Mar 10 '14 13:03 Deele