| 1 | Index: ModelGlueConfiguration.cfc |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- ModelGlueConfiguration.cfc (revision 64) |
|---|
| 4 | +++ ModelGlueConfiguration.cfc (working copy) |
|---|
| 5 | @@ -152,6 +152,9 @@ |
|---|
| 6 | <cffunction name="setGeneratedViewMapping" returntype="void" output="false" access="public"> |
|---|
| 7 | <cfargument name="GeneratedViewMapping" type="string" /> |
|---|
| 8 | <cfset variables._instance.GeneratedViewMapping = arguments.GeneratedViewMapping /> |
|---|
| 9 | + <cfif listFind(arrayToList(variables._instance.ViewMappings),arguments.GeneratedViewMapping) eq 0> |
|---|
| 10 | + <cfset arrayAppend(variables._instance.ViewMappings, arguments.GeneratedViewMapping) /> |
|---|
| 11 | + </cfif> |
|---|
| 12 | </cffunction> |
|---|
| 13 | <cffunction name="getGeneratedViewMapping" returntype="string" output="false"> |
|---|
| 14 | <cfreturn variables._instance.GeneratedViewMapping /> |
|---|
| 15 | |
|---|