slash-less friendly URL

Currently the urlManager will create links like

can we create links like, without the slash?

or

Yes you can…

You just need to configure it in config/main.php something like this:

Thank you, just tried. It works. Didnot it is this easy.

Yii Rocks.