mirror of
https://github.com/ethauvin/rife2.git
synced 2025-05-01 19:08:12 -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);
|
while (true);
|
||||||
|
|
||||||
// no target element, get the fallback element
|
// no target element, get the fallback element
|
||||||
// if (null == route) {
|
if (null == route) {
|
||||||
|
// TODO
|
||||||
// route = searchFallback(elementUrl);
|
// route = searchFallback(elementUrl);
|
||||||
// if (null == route) {
|
// if (null == route) {
|
||||||
// return null;
|
return null;
|
||||||
// }
|
|
||||||
// }
|
// }
|
||||||
|
}
|
||||||
// // otherwise get the target element's path info
|
// // otherwise get the target element's path info
|
||||||
// else {
|
// else {
|
||||||
// // only accept pathinfo if the element accepts it
|
// // only accept pathinfo if the element accepts it
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue