Custom controller created on server showing 404 not found but working in local

@vinikatyal I have to check it myself by creating a demo in my local and the following code worked for me.

The route url:

The controller function:

Output:

1 Like