Welcome Guest, Not a member yet? Register   Sign In
Route with optional param is not working
#3

In your method definition, provide a null possibility for the argument and it should work for you:

Code:
function deleteImage($id = null)
{
    . . .
}
Reply


Messages In This Thread
RE: Route with optional param is not working - by kilishan - 06-07-2016, 06:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB