[eluser]Pintossauro[/eluser]
Maybe this is confusing. I'll try to simplify:
Basically I access a URL like <b>index.php/4/tasks/add</b> by a link with the <b> href="/4/tasks/add">Add task</b> that calls the Add function in the Task controller passing the project id as argument (due to the definition in routes.php). When a user submits a new task, if the <b>validation in insert_task() method</b> fails, i wanted to show the same URL <b>index.php/4/tasks/add</b> with the input errors but if i just load the same view in my validation function (<b>$this->load->view(task/add)</b>) the URL will be <b>index.php/task/insert_task</b> and not the <b>index.php/4/tasks/add</b> that i want.
This is just a matter of the "aspect" of the URL because the application works perfectly.
Any ideas?