mirror of
https://github.com/ethauvin/rife2.git
synced 2025-04-30 18:48:13 -07:00
Fix for when a route can't be found
This commit is contained in:
parent
73d6eb3d86
commit
258c345fcd
1 changed files with 4 additions and 3 deletions
|
@ -218,12 +218,13 @@ public class Site {
|
|||
while (true);
|
||||
|
||||
// no target element, get the fallback element
|
||||
// if (null == route) {
|
||||
if (null == route) {
|
||||
// TODO
|
||||
// route = searchFallback(elementUrl);
|
||||
// if (null == route) {
|
||||
// return null;
|
||||
return null;
|
||||
// }
|
||||
// }
|
||||
}
|
||||
// // otherwise get the target element's path info
|
||||
// else {
|
||||
// // only accept pathinfo if the element accepts it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue