liquid_feedback_frontend
diff app/main/delegation/new.lua @ 339:f8481330f4c2
Route user back to initiative after set/remove interest or delegation
| author | bsw |
|---|---|
| date | Tue Feb 28 18:59:11 2012 +0100 (2012-02-28) |
| parents | a88f3ecb4606 |
| children | 1dd1f2c2112c |
line diff
1.1 --- a/app/main/delegation/new.lua Tue Feb 28 18:58:29 2012 +0100 1.2 +++ b/app/main/delegation/new.lua Tue Feb 28 18:59:11 2012 +0100 1.3 @@ -75,9 +75,9 @@ 1.4 routing = { 1.5 default = { 1.6 mode = "redirect", 1.7 - module = area and "area" or issue and "issue" or "unit", 1.8 + module = area and "area" or initiative and "initiative" or issue and "issue" or "unit", 1.9 view = "show", 1.10 - id = area and area.id or issue and issue.id or unit.id 1.11 + id = area and area.id or initiative and initiative.id or issue and issue.id or unit.id 1.12 } 1.13 }, 1.14 content = function()