Skip to content

Commit 7204665

Browse files
author
graeme
committed
fix for GRAILS-2464
git-svn-id: https://svn.codehaus.org/grails/trunk@6713 1cfb16fd-6d17-0410-8ff1-b7e8e1e2867d
1 parent a2afb5a commit 7204665

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/groovy/org/codehaus/groovy/grails/webflow/engine/builder/FlowBuilder.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ class FlowBuilder extends AbstractFlowBuilder implements GroovyObject, Applicati
138138
state.attributeMap.put("commit", true)
139139
}
140140
else if(trans.length == 0 && flowInfo.subflow == null) {
141-
state = addEndState(name, name);
141+
142+
state = addEndState(name, flowInfo.viewName ?: name);
142143
state.attributeMap.put("commit", true)
143144
}
144145
else if(action) {

0 commit comments

Comments
 (0)