XF 2.0 Help with routing parameter

pm4

Member
Hi, I have this routing configuration

1.png

but when I visit the page I get this:

2.png

Can someone help?
Thanks!
 

Robust

Well-known member
First issue is that you're extending a XF controller yet referencing the extended class there. Enter the normal class name, XF\Pub\Controller\Register. Since you're extending that class, your methods will show up in there anyway.

Worth asking, do you have an actionInvited() function in the controller? Have you extended the class (XF one) properly?

Another issue is in naming conventions. The action prefix should not be actionInvited. Just call it invited or something.
 
Top