Skip to content

Commit d70c016

Browse files
committed
Merge pull request filipw#162 from alexwiese/dev
Fixes issue filipw#161
2 parents 6d528a6 + 66bcbd6 commit d70c016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebApi.OutputCache.V2/InvalidateCacheOutputAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public InvalidateCacheOutputAttribute(string methodName)
1717

1818
public InvalidateCacheOutputAttribute(string methodName, Type type = null)
1919
{
20-
_controller = type != null ? type.Name.Replace("Controller", string.Empty) : null;
20+
_controller = type != null ? type.FullName : null;
2121
_methodName = methodName;
2222
}
2323

0 commit comments

Comments
 (0)