liquid_feedback_frontend
changeset 1137:c6690fe0427d
Removed not-working redirect
author | bsw |
---|---|
date | Tue Jan 27 12:14:23 2015 +0100 (2015-01-27) |
parents | 77412cc23325 |
children | e4df22c3a69f |
files | app/main/draft/new.lua |
line diff
1.1 --- a/app/main/draft/new.lua Tue Jan 27 12:10:09 2015 +0100 1.2 +++ b/app/main/draft/new.lua Tue Jan 27 12:14:23 2015 +0100 1.3 @@ -4,15 +4,12 @@ 1.4 1.5 if initiative.issue.closed then 1.6 slot.put_into("error", _"This issue is already closed.") 1.7 - request.redirect{ module = "initiative", view = "show", id = initiative.id } 1.8 return 1.9 elseif initiative.issue.half_frozen then 1.10 slot.put_into("error", _"This issue is already frozen.") 1.11 - request.redirect{ module = "initiative", view = "show", id = initiative.id } 1.12 return 1.13 elseif initiative.issue.phase_finished then 1.14 slot.put_into("error", _"Current phase is already closed.") 1.15 - request.redirect{ module = "initiative", view = "show", id = initiative.id } 1.16 return 1.17 end 1.18