git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
word/edit: subpage alias to writer functionality
[sheet.git]
/
word.plp
diff --git
a/word.plp
b/word.plp
index 493bde927b655aadff77009072ad8df21f8a414e..a7acea5ae10d9874e3324b8ffc4117ed27077531 100644
(file)
--- a/
word.plp
+++ b/
word.plp
@@
-1,5
+1,10
@@
<(common.inc.plp)><:
+if ($Request and $Request =~ s{^edit/?}{}) {
+ Include 'writer.plp';
+ exit;
+}
+
my $lang = $get{lang} || 'en';
my $wordlist = "data/wordlist.$lang.inc.pl";
my $limit = $get{v} // (exists $get{v} ? 4 : 3);