• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI finding method in other controllers but not my News one

#3
[eluser]php_princess[/eluser]
Ah, ha! Here's what's wrong. I looked in routes and saw this:

Code:
$route['news/create'] = 'news/create';
$route['news/(:any)'] = 'news/view/$1';
$route['news'] = 'news';

I deleted all that and, vola, my method started working.

I forgot that I put that stuff in there when I was doing the CI tutorials. Thanks Rolly! I'd have never thought to look there had you not mentioned it.


Messages In This Thread
CI finding method in other controllers but not my News one - by El Forum - 10-05-2012, 08:29 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.