From 79430bfeb80391b2001d5fee8c17aedaae54fe5e Mon Sep 17 00:00:00 2001 From: "David M. Lee" Date: Thu, 21 Nov 2013 22:36:29 +0000 Subject: 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 --- rest-api-templates/ari_resource.c.mustache | 2 +- rest-api-templates/res_ari_resource.c.mustache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'rest-api-templates') 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 -- cgit v1.2.3