ssossossosso

Forums

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

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

  • Creator
    Topic
  • #22146
    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
  • #22444
    Mike Kudelya
    Mike Kudelya
    Oro Core

    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:

    #22459
    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.