Welcome Guest, Not a member yet? Register   Sign In
My view appears twice
#13

[eluser]xwero[/eluser]
The home.php content was
Code:
<?php
class Home extends Controller{
  
  public function index(){
    
    echo 'Hey home';
  }
}

You dont have to route every controller but i was trying to mimic the scenario you describe here and my output was the one i expected to see. So i asked myself why do you get the output twice and that is why i asked for the content of your routes.php file. Maybe that is the cause of your problem.


Messages In This Thread
My view appears twice - by El Forum - 09-29-2008, 02:57 PM
My view appears twice - by El Forum - 09-29-2008, 09:37 PM
My view appears twice - by El Forum - 09-30-2008, 12:27 AM
My view appears twice - by El Forum - 09-30-2008, 03:23 AM
My view appears twice - by El Forum - 09-30-2008, 04:12 AM
My view appears twice - by El Forum - 09-30-2008, 04:19 AM
My view appears twice - by El Forum - 09-30-2008, 04:29 AM
My view appears twice - by El Forum - 09-30-2008, 04:36 AM
My view appears twice - by El Forum - 09-30-2008, 04:43 AM
My view appears twice - by El Forum - 09-30-2008, 04:54 AM
My view appears twice - by El Forum - 09-30-2008, 07:11 AM
My view appears twice - by El Forum - 09-30-2008, 07:25 AM
My view appears twice - by El Forum - 09-30-2008, 07:35 AM
My view appears twice - by El Forum - 09-30-2008, 08:20 AM
My view appears twice - by El Forum - 09-30-2008, 08:28 AM
My view appears twice - by El Forum - 09-30-2008, 08:45 AM
My view appears twice - by El Forum - 09-30-2008, 08:50 AM
My view appears twice - by El Forum - 09-30-2008, 08:56 AM
My view appears twice - by El Forum - 09-30-2008, 09:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB