Hello,
I'm new to Phalcon an I'm trying to archive a route schema like a short url service where / goes to indexAction() and /hjK8uj or /uIUn7y goes to showAction(), both in indexController.
Note that I have other actions like /save or /help.
I have a small Flask (python) app and I can archive this like:
@app.route('/')
@app.route('/<slug>')
def index(slug=None):
if slug:
get the view for the slug
else:
get the view for the home page
Thanks
Nuno