updated to fix issue #5053 (#5057)

* updated to fix issue #5053

* updated test
This commit is contained in:
Phillip Novess 2017-04-24 05:16:10 -05:00 committed by wing328
parent dc89f3e731
commit a2080810f8
4 changed files with 2 additions and 2 deletions

View File

@ -285,7 +285,7 @@ public class Rails5ServerCodegen extends DefaultCodegen implements CodegenConfig
name = name.replaceAll("-", "_"); // FIXME: a parameter should not be assigned. Also declare the methods parameters as 'final'.
// e.g. DefaultController => defaults_controller.rb
return underscore(name) + "s_controller";
return underscore(name) + "_controller";
}
@Override