liquid_feedback_frontend
diff app/main/unit/show.lua @ 526:18cd8595459b
Fixes for public access
author | bsw |
---|---|
date | Fri May 18 19:21:45 2012 +0200 (2012-05-18) |
parents | 63d6549cc00b |
children | 305329da1c75 |
line diff
1.1 --- a/app/main/unit/show.lua Fri May 18 19:07:07 2012 +0200 1.2 +++ b/app/main/unit/show.lua Fri May 18 19:21:45 2012 +0200 1.3 @@ -2,7 +2,9 @@ 1.4 1.5 local unit = Unit:by_id(unit_id) 1.6 1.7 -execute.view{ module = "unit", view = "_head", params = { unit = unit } } 1.8 +slot.select("head", function() 1.9 + execute.view{ module = "unit", view = "_head", params = { unit = unit } } 1.10 +end) 1.11 1.12 if config.single_unit_id and not app.session.member_id and config.motd_public then 1.13 local help_text = config.motd_public