OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums 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 7 years, 7 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #36284

    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
  • #36285

    Mike Kudelya
    Participant

    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:

    #36286

    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)

The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.

Back to top