Module controller action returns Error 404

When I try route/module/index it works.

But when I try to visit another controller action

For ex. route/module/anotherAction it redirects to Error 404.

How should I fix this?

Thank you in advance.

mAy be you didn’t define a view page related to the action…that’s the reason

You generally need call route/module/controller/anotherAction