Permalink
Browse files

added default response type of ServiceOnlyAttribute as JSON

  • Loading branch information...
nberardi committed Nov 20, 2010
1 parent 527e30a commit f9b39d30f5b6c362580ae97515c01a4424962081
Showing with 1 addition and 0 deletions.
  1. +1 −0 Source/Web/Mvc/ServiceOnlyAttribute.cs
@@ -17,6 +17,7 @@ public class ServiceOnlyAttribute : ServiceAttribute
/// </summary>
public ServiceOnlyAttribute()
{
+ DefaultResponseType = ResponseType.Json;
}
/// <summary>

0 comments on commit f9b39d3

Please sign in to comment.