| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -79,7 +79,7 @@ object FrontPage { | |||
| 79 | 79 | class FrontController extends Controller with Logging with JsonTrails with ExecutionContexts { | |
| 80 | 80 | ||
| 81 | 81 | val EditionalisedKey = """(.*\w\w-edition)""".r | |
| 82 | - val FrontKey = """(\w\w-edition)""".r | ||
| 82 | + val FrontPath = """(\w\w-edition)?""".r | ||
| 83 | 83 | ||
| 84 | 84 | val front: Front = Front | |
| 85 | 85 | ||
@@ -102,8 +102,7 @@ class FrontController extends Controller with Logging with JsonTrails with Execu | |||
| 102 | 102 | // TODO this must die, configured trailblock should not be in there in the first place if we don't want it....... | |
| 103 | 103 | // filter out configured trailblocks if not on the network front | |
| 104 | 104 | path match { | |
| 105 | - case FrontKey(_) => false | ||
| 106 | - case "front" => false | ||
| 105 | + case FrontPath(_) => false | ||
| 107 | 106 | case _ => trailblock.description.isConfigured | |
| 108 | 107 | } | |
| 109 | 108 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments