Closed JN-Jones closed 8 years ago
Problem was that we assume that id is always an integer and add a pattern for that: https://github.com/mybb/mybb2/blob/master/app/Providers/RouteServiceProvider.php#L35 However the search id is a string so the route couldn't be found. I've simply renamed it to token in that route and fixed one more issue with the view.
id
token
@euantorano Probably we should rename the whole column everywhere to token to avoid any confusion.
Yeah, renaming it to token everywhere would be best, can you amend this PR to do that?
That was the plan. Need to take a look at migrations first though
Nice one, cheers!
Should be done now
203
Problem was that we assume that
id
is always an integer and add a pattern for that: https://github.com/mybb/mybb2/blob/master/app/Providers/RouteServiceProvider.php#L35 However the search id is a string so the route couldn't be found. I've simply renamed it totoken
in that route and fixed one more issue with the view.@euantorano Probably we should rename the whole column everywhere to
token
to avoid any confusion.