Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

form helper adding public to action uri

Hi everyone,

I am new to phalcon and just tried to set up a form. The form works but when I use php \Phalcon\Tag::Form() It seems to affix 'public' to it. It works but does not give me as pretty of a url. as I have .htaccess enabled so I could do with out public affixed to it. Any ideas on what's causing it to be like that?

Here's the source

<?php echo Tag::form("beta/signUp");?>
        <label for="name">Name</label>
        <?php echo Tag::textField("name") ?>

        <label for="email">Email</label>
        <?php echo Tag::emailField("email") ?>

        <input type="submit" value="Sign me Up!" class="btn btn-large" />


You need to change baseUri to "/" in app/config/config.php

Yup! I figured it just after I posted this. Thanks for the help!