Send parameter to contoller

hello, I am working on admin panel and want to pass record id with href like

backend/vehicle/edit/1

but its not working, i don’t want to pass values with “?parameter” so please help me

here is link from list page, but i am not sure this is proper

<a href="<?php echo $this->createUrl(‘backend/vehicle/edit’,array(‘id’=>1)); ?>" title="" class=“btn btn-circle show-tooltip” data-original-title=“Edit selected”><i class=“fa fa-edit”></i></a>

And this is function

public function actionEdit()

{


	echo '****************************';


}

on click of link it gives error

Error 404

Unable to resolve the request "backend/vehicle".

How you specified the value? Please share your code, so that we can understand the issue.

With the default urlManager rules and urlFormat = ‘path’ your variable ‘edit’ should be available in controller’s action passed as parameter: public function actionName($edit = ‘’) {}