Add admin path to CgridView buttons

I need to add the admin path to the view/update/delete buttons, was wondering if I could do this through url manager alone or needed to override the link when calling CGridView

Here’s my rule but it generates it without the admin path


'<user:(admin)?><opt:(\/)?><controller:\w+>/<action:.*?>'=>'<controller>/<action>',


http://localhost/blah/post/update?id=3



should be


http://localhost/blah/admin/post/update?id=3