yii-multilanguage
yii-multilanguage copied to clipboard
GII can't show diff for model generator
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.