Yii Framework Forum: Controller Help - Yii Framework Forum

Jump to content

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

Controller Help Rate Topic: -----

#1 User is offline   jbomhold3 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 20
  • Joined: 06-May 10

Posted 13 July 2010 - 07:49 PM

I'm trying to setup my admin controller so it works like this.

http://something/admin/user/action

That's admin controller then user controller then the action. I know it's going to call the admin controller first and I need to point that action to the user controller but I'm not sure how to do that or if i'm even thinking about this right.


Thanks,
John
0

#2 User is offline   zaccaria 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 2,232
  • Joined: 04-October 09
  • Location:Moscow

Posted 14 July 2010 - 01:39 AM

You should create a module admin with user controller.

You can generate admin module with Gii, and then admin/user controller and all will work immediatly.
0

#3 User is offline   jbomhold3 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 20
  • Joined: 06-May 10

Posted 14 July 2010 - 10:03 PM

Thank you much, works now.
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