ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

Forums OroPlatform OroPlatform – How do I? Questions I cannot extend User controller

This topic contains 2 replies, has 2 voices, and was last updated by thinh2010 thinh2010 1 year, 5 months ago.

  • Creator
    Topic
  • #62687
    thinh2010
    thinh2010
    Participant

    Hello,

    I am trying to extends UserController. I already extends the bundle, and then I go to extend User controller, but it not work

    This is my code:

    but when I go to add new user, it not through my die function.
    Maybe I have mistake somewhere but I cannot find it out. Could you please help me?
    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #62688
    Mike Kudelya
    Mike Kudelya
    Moderator

    Hi,

    Do you enable your bundle in Resources/config/oro/bundles.yml ? Look at other bundles how it made there.
    Here is example how you can setup your routers:

    Also after that you need to run:


    #62690
    thinh2010
    thinh2010
    Participant

    Hi,

    Thank for your reply. I can extend it now by using 2 routes:

    and

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

ssossossosso