Fix webapps.pastebin redirection
parent
54e824ffe4
commit
311487e5e7
|
@ -83,8 +83,7 @@ annotation "ANNOTATIONS"
|
||||||
! LINKS, ETC
|
! LINKS, ETC
|
||||||
! ! !
|
! ! !
|
||||||
|
|
||||||
: pastebin-url ( -- url )
|
CONSTANT: pastebin-url URL" $pastebin/"
|
||||||
URL" $pastebin/list" ;
|
|
||||||
|
|
||||||
: paste-url ( id -- url )
|
: paste-url ( id -- url )
|
||||||
"$pastebin/paste" >url swap "id" set-query-param ;
|
"$pastebin/paste" >url swap "id" set-query-param ;
|
||||||
|
@ -187,7 +186,7 @@ M: annotation entity-url
|
||||||
"id" value <paste> delete-tuples
|
"id" value <paste> delete-tuples
|
||||||
"id" value f <annotation> delete-tuples
|
"id" value f <annotation> delete-tuples
|
||||||
] with-transaction
|
] with-transaction
|
||||||
URL" $pastebin/list" <redirect>
|
pastebin-url <redirect>
|
||||||
] >>submit
|
] >>submit
|
||||||
|
|
||||||
<protected>
|
<protected>
|
||||||
|
|
Loading…
Reference in New Issue