Welcome Guest, Not a member yet? Register   Sign In
Routes.php problem - parameters not sent
#1

[eluser]Unknown[/eluser]
First post, and sorry if this has been covered - I tried a search which suggested there was a problem with Routes, that was fixed in 1.5.1 - however I'm using 1.5.3.

I cannot get routes.php to work, even very simply.

When I try a browser against the following route:
Code:
$route['student_view/project/9/assessments'] = "student_view/assessments/show/9";

Php responds with the error:
Code:
Message: Missing argument 1 for Assessments::show()

However if I put in the path directly, the page picks up the parameter (9) just fine.

Any ideas?




Theme © iAndrew 2016 - Forum software by © MyBB