I want to render page name through URL request parameter.
like -
r=page/view&name=page_name
instead of id - r=page/view&id=1
please i need to know what i can do in
actionview(), viewfile and urlmanager (code generated by gii)
Help to resolve my issue.
You can do like this -
your request url -
r=page/view&name=page
In your action controller -