Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added default response type of ServiceOnlyAttribute as JSON

  • Loading branch information...
commit f9b39d30f5b6c362580ae97515c01a4424962081 1 parent 527e30a
@nberardi nberardi authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  Source/Web/Mvc/ServiceOnlyAttribute.cs
View
1  Source/Web/Mvc/ServiceOnlyAttribute.cs
@@ -17,6 +17,7 @@ public class ServiceOnlyAttribute : ServiceAttribute
/// </summary>
public ServiceOnlyAttribute()
{
+ DefaultResponseType = ResponseType.Json;
}
/// <summary>
Please sign in to comment.
Something went wrong with that request. Please try again.