liquid_feedback_frontend
diff app/main/interest/_show_box.lua @ 528:305329da1c75
Wording and css changes
| author | bsw | 
|---|---|
| date | Fri May 18 21:03:10 2012 +0200 (2012-05-18) | 
| parents | 63d6549cc00b | 
| children | 5ca9de94cb13 | 
   line diff
1.1 --- a/app/main/interest/_show_box.lua Fri May 18 19:44:41 2012 +0200 1.2 +++ b/app/main/interest/_show_box.lua Fri May 18 21:03:10 2012 +0200 1.3 @@ -17,7 +17,15 @@ 1.4 module = "interest", 1.5 action = "update", 1.6 params = { issue_id = issue.id, delete = true }, 1.7 - routing = { default = { mode = "redirect", module = initiative and "initiative" or "issue", view = "show", id = initiative and initiative.id or issue.id } } 1.8 + routing = { 1.9 + default = { 1.10 + mode = "redirect", 1.11 + module = request.get_module(), 1.12 + view = request.get_view(), 1.13 + id = param.get_id_cgi(), 1.14 + params = param.get_all_cgi() 1.15 + } 1.16 + } 1.17 } 1.18 slot.put(") ") 1.19 end 1.20 @@ -28,7 +36,15 @@ 1.21 module = "interest", 1.22 action = "update", 1.23 params = { issue_id = issue.id }, 1.24 - routing = { default = { mode = "redirect", module = initiative and "initiative" or "issue", view = "show", id = initiative and initiative.id or issue.id } } 1.25 + routing = { 1.26 + default = { 1.27 + mode = "redirect", 1.28 + module = request.get_module(), 1.29 + view = request.get_view(), 1.30 + id = param.get_id_cgi(), 1.31 + params = param.get_all_cgi() 1.32 + } 1.33 + } 1.34 } 1.35 slot.put(" ") 1.36 end