We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Controller actions without Action suffix

Hi,

By default all actions on a Controller have to have the suffix Action. Ex: loginAction

Is there a way to change this? I'd like to not have any suffix.

Thank you



43.9k

it's a convinient convention so that Phalcon knows if your function is for a view action or for anything else