# HG changeset patch # User bsw # Date 1422357263 -3600 # Node ID c6690fe0427d2470378aa95e75127829ba19b023 # Parent 77412cc2332556d79756a355c2e34122a9fb3197 Removed not-working redirect diff -r 77412cc23325 -r c6690fe0427d app/main/draft/new.lua --- a/app/main/draft/new.lua Tue Jan 27 12:10:09 2015 +0100 +++ b/app/main/draft/new.lua Tue Jan 27 12:14:23 2015 +0100 @@ -4,15 +4,12 @@ if initiative.issue.closed then slot.put_into("error", _"This issue is already closed.") - request.redirect{ module = "initiative", view = "show", id = initiative.id } return elseif initiative.issue.half_frozen then slot.put_into("error", _"This issue is already frozen.") - request.redirect{ module = "initiative", view = "show", id = initiative.id } return elseif initiative.issue.phase_finished then slot.put_into("error", _"Current phase is already closed.") - request.redirect{ module = "initiative", view = "show", id = initiative.id } return end