liquid_feedback_frontend
changeset 1433:c18bee9e186e
Fixed invalid link
author | bsw |
---|---|
date | Fri Oct 05 22:02:56 2018 +0200 (2018-10-05) |
parents | d49de9fc5733 |
children | c30116544ad6 |
files | app/main/unit/_list.lua |
line diff
1.1 --- a/app/main/unit/_list.lua Fri Oct 05 22:00:32 2018 +0200 1.2 +++ b/app/main/unit/_list.lua Fri Oct 05 22:02:56 2018 +0200 1.3 @@ -15,11 +15,11 @@ 1.4 if for_admin then 1.5 ui.link{ text = unit.name, module = "admin", view = "unit_edit", id = unit.id } 1.6 else 1.7 - ui.link{ text = unit.name, module = "unit", view = "show", id = unit.id } 1.8 + ui.link{ text = unit.name, module = "index", view = "index", params = { unit = unit.id } } 1.9 end 1.10 end 1.11 } 1.12 } 1.13 } 1.14 1.15 -end } 1.16 \ No newline at end of file 1.17 +end }