Castle.MonoRail.Framework.ViewEngineBase.AdjustJavascriptContentType C# (CSharp) Method

AdjustJavascriptContentType() protected method

Sets the HTTP Content-Type header to text/javascript
protected AdjustJavascriptContentType ( IRailsEngineContext context ) : void
context IRailsEngineContext
return void
		protected void AdjustJavascriptContentType(IRailsEngineContext context)
		{
			context.Response.ContentType = "text/javascript";
		}