Yii Framework Forum: How To Change Underscore From Url - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How To Change Underscore From Url change underscore with minus in action name Rate Topic: -----

#1 User is offline   Golub 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 14-March 13
  • Location:Bosnia and Hercegovina

Posted 14 March 2013 - 04:51 AM

For example I have action:

    public function actionTermag_novi_dio()
	{
		
		$this->render('clanak');
        
	}

And I want link to be like these controler/termag-novi-dio
Any help, please?
0

#2 User is offline   acorncom 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 100
  • Joined: 25-February 11
  • Location:CO, USA

Posted 19 March 2013 - 01:22 AM

This should be posted under the normal Yii 1.1 discussion. You'll get an answer faster that way :-)
0

#3 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,608
  • Joined: 10-October 10
  • Location:Denmark

Posted 19 March 2013 - 01:38 AM

Definitely the wrong forum. :)

/* moving ... */
"Less noise - more signal"
0

#4 User is offline   waterloomatt 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 545
  • Joined: 09-April 10

Posted 19 March 2013 - 02:04 AM

I think you're looking for UrlManager's rules property. This post might help.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users