mirror of
https://github.com/apache/struts.git
synced 2026-08-07 07:37:20 +00:00
Cleans up method name
This commit is contained in:
@@ -311,7 +311,7 @@ public class RestActionMapper extends DefaultActionMapper {
|
||||
|
||||
mapping.setName(actionName);
|
||||
if (allowDynamicMethodCalls) {
|
||||
mapping.setMethod(actionMethod);
|
||||
mapping.setMethod(cleanupActionName(actionMethod));
|
||||
} else {
|
||||
mapping.setMethod(null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user