# HG changeset patch # User bsw # Date 1342205303 -7200 # Node ID c54f484b16914cd1c312f44193caae02465c4389 # Parent c91cbd4470643fcb761cb662ad4a0d9c2857159e Added example configuration of issue discussion URL diff -r c91cbd447064 -r c54f484b1691 config/example.lua --- a/config/example.lua Thu Jul 12 17:56:35 2012 +0200 +++ b/config/example.lua Fri Jul 13 20:48:23 2012 +0200 @@ -119,6 +119,12 @@ -- photo = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "240x240", "jpeg:-") end --} +-- Automatic issue related discussion URL +-- ------------------------------------------------------------------------ +-- config.issue_discussion_url_func = function(issue) +-- return "http://example.com/discussion/issue_" .. tostring(issue.id) +-- end + -- Integration of Etherpad, disabled by default -- ------------------------------------------------------------------------ --config.etherpad = {