diff options
author | David M. Lee <dlee@digium.com> | 2013-11-21 22:36:29 +0000 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2013-11-21 22:36:29 +0000 |
commit | 79430bfeb80391b2001d5fee8c17aedaae54fe5e (patch) | |
tree | 20181da3a37b6d705a949c496348325a0b40b8db | |
parent | dfb0144d0cbf9aad6e022b6371432541a7f5d27c (diff) |
ari: Fix #include to match generated headers for snakeCase resource files
........
Merged revisions 402993 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | rest-api-templates/ari_resource.c.mustache | 2 | ||||
-rw-r--r-- | rest-api-templates/res_ari_resource.c.mustache | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rest-api-templates/ari_resource.c.mustache b/rest-api-templates/ari_resource.c.mustache index 5015d347e..e2b234240 100644 --- a/rest-api-templates/ari_resource.c.mustache +++ b/rest-api-templates/ari_resource.c.mustache @@ -28,7 +28,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") -#include "resource_{{name}}.h" +#include "resource_{{c_name}}.h" {{#apis}} {{#operations}} diff --git a/rest-api-templates/res_ari_resource.c.mustache b/rest-api-templates/res_ari_resource.c.mustache index 06b493cc4..580ba1944 100644 --- a/rest-api-templates/res_ari_resource.c.mustache +++ b/rest-api-templates/res_ari_resource.c.mustache @@ -49,7 +49,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/app.h" #include "asterisk/module.h" #include "asterisk/stasis_app.h" -#include "ari/resource_{{name}}.h" +#include "ari/resource_{{c_name}}.h" #if defined(AST_DEVMODE) #include "ari/ari_model_validators.h" #endif |