CodeIgniter Forums

Full Version: Redirect within controller!!!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!

I found a chatbot to add to my site and it works but the issue is that it redirects to my landing page (which was the original welcome message page). Im believe I have to change something within the contoller but dont know where. Trying to fix it that when I hit submit instead  of going to another page the comment/words are in the message board. Here is the git Im using:

https://github.com/afiefsky/chatapp-codeigniter-ajax

Where do I make the change?
From what I saw all of the redirecting is being done in the Chat controller index method.

The is also a Chat redirect method so it must be in one of them.