liquid_feedback_frontend
diff app/main/index/document.lua @ 1309:32cc544d5a5b
Cumulative patch for upcoming frontend version 4
author | bsw/jbe |
---|---|
date | Sun Jul 15 14:07:29 2018 +0200 (2018-07-15) |
parents | 701a5cf6b067 |
children | dcbe505ddf24 |
line diff
1.1 --- a/app/main/index/document.lua Thu Jun 23 03:30:57 2016 +0200 1.2 +++ b/app/main/index/document.lua Sun Jul 15 14:07:29 2018 +0200 1.3 @@ -1,5 +1,5 @@ 1.4 if not config.document_dir then 1.5 - error("feature not enabled") 1.6 + return execute.view { module = "index", view = "404" } 1.7 end 1.8 1.9 slot.put_into("title", _"Download documents") 1.10 @@ -54,4 +54,4 @@ 1.11 end 1.12 } 1.13 } 1.14 -} 1.15 \ No newline at end of file 1.16 +}