Commits

OJ Reeves committed d4dbfa7

Added the right verb to the new Create() function overload to remove a stupid ambiguity.

Comments (0)

Files changed (1)

CodeSmackdown.Site/Controllers/SnippetsController.cs

         }
 
         [Authorize]
+        [AcceptVerbs(HttpVerbs.Post)]
         public ActionResult Create(SnippetCreateData createData)
         {
             return RedirectToRoute("Index");