 		local.rv = $addRouteName(params=local.rv, route=arguments.route);
 		return local.rv;
 	}
- 
+
 	public struct function $createNestedParamStruct(required struct params) {
 		local.rv = arguments.params;
 		for (local.key in local.rv)

	/**
	*  @hint Adds in the format variable from the route if it exists.
	*/
	public struct function $addRouteFormat(required struct params, required struct route) {		
		local.rv = arguments.params;
		if (StructKeyExists(arguments.route, "formatVariable") && StructKeyExists(arguments.route, "format"))
		{

		}
		return local.rv;
	}

	/**
	 *  @hint Determine HTTP verb used in request
	 */
	public string function $getRequestMethod() {
		// if request is a post, check for alternate verb
		if (cgi.request_method EQ "post" AND StructKeyExists(form, "_method"))
			return form["_method"];

		// if request is a get, check for alternate verb
		if (cgi.request_method EQ "get" AND StructKeyExists(url, "_method"))
			return url["_method"];

		return cgi.request_method;
	}
</cfscript>
