liquid_feedback_frontend
diff app/main/initiative/_action/create.lua @ 326:75ce92899049
Work on "config/example.lua" as complete example configuration; Removed config.absolute_base_url
| author | jbe |
|---|---|
| date | Tue Feb 28 17:59:42 2012 +0100 (2012-02-28) |
| parents | c587d8762e62 |
| children | ae9ab3edff89 |
line diff
1.1 --- a/app/main/initiative/_action/create.lua Tue Feb 28 16:38:54 2012 +0100 1.2 +++ b/app/main/initiative/_action/create.lua Tue Feb 28 17:59:42 2012 +0100 1.3 @@ -94,7 +94,7 @@ 1.4 .. "api/1/createGroupPad?apikey=" .. config.etherpad.api_key 1.5 .. "&groupID=" .. config.etherpad.group_id 1.6 .. "&padName=Issue" .. tostring(issue.id) 1.7 - .. "&text=" .. config.absolute_base_url .. "issue/show/" .. tostring(issue.id) .. ".html" 1.8 + .. "&text=" .. request.get_absolute_baseurl() .. "issue/show/" .. tostring(issue.id) .. ".html" 1.9 ) 1.10 end 1.11 end 1.12 @@ -129,4 +129,4 @@ 1.13 module = "initiative", 1.14 view = "show", 1.15 id = initiative.id 1.16 -} 1.17 \ No newline at end of file 1.18 +}