PageRenderTime 17ms CodeModel.GetById 14ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/SampleApplication/ColdBox3/config/Routes.cfm

http://github.com/bobsilverberg/ValidateThisColdBoxPlugin
ColdFusion | 16 lines | 14 code | 2 blank | 0 comment | 1 complexity | 84cba02b359ba0a573a2a19f2422f6da MD5 | raw file
 1<cfscript>
 2	// General Properties
 3	setEnabled(true);
 4	setUniqueURLS(false);
 5	
 6	// Base URL
 7	if( len(getSetting('AppMapping') ) lte 1){
 8		setBaseURL("http://#cgi.HTTP_HOST#");
 9	}
10	else{
11		setBaseURL("http://#cgi.HTTP_HOST#/#getSetting('AppMapping')#");
12	}
13	
14	// Your Application Routes
15	addRoute(pattern=":handler/:action?");
16</cfscript>