liquid_feedback_frontend
changeset 306:a88f3ecb4606
Fixed redirect after setting unit delegation
author | bsw |
---|---|
date | Sun Feb 26 17:12:51 2012 +0100 (2012-02-26) |
parents | 1a55347e83bf |
children | f75811cd269e |
files | app/main/delegation/new.lua |
line diff
1.1 --- a/app/main/delegation/new.lua Sun Feb 26 15:05:29 2012 +0100 1.2 +++ b/app/main/delegation/new.lua Sun Feb 26 17:12:51 2012 +0100 1.3 @@ -75,10 +75,9 @@ 1.4 routing = { 1.5 default = { 1.6 mode = "redirect", 1.7 - module = area and "area" or issue and "issue" or "area", 1.8 - view = (area or issue) and "show" or "list", 1.9 - id = area and area.id or issue and issue.id or nil, 1.10 - params = { unit_id = unit and unit.id or nil } 1.11 + module = area and "area" or issue and "issue" or "unit", 1.12 + view = "show", 1.13 + id = area and area.id or issue and issue.id or unit.id 1.14 } 1.15 }, 1.16 content = function()