Skip to content

Commit ca86fed

Browse files
committed
removed redundant check for command object
1 parent 8830477 commit ca86fed

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/java/org/codehaus/groovy/grails/web/servlet/mvc/SimpleGrailsControllerHelper.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,6 @@ protected ModelAndView executeAction(GroovyObject controller,
215215
Closure action;
216216
try {
217217
action = (Closure)controller.getProperty(actionName);
218-
if (WebMetaUtils.isCommandObjectAction(action)) {
219-
action = WebMetaUtils.createAndPrepareCommandObjectAction(
220-
controller, action, actionName, applicationContext);
221-
}
222218
}
223219
catch(MissingPropertyException mpe) {
224220
try {

0 commit comments

Comments
 (0)