1. OJ Reeves
  2. CodeSmackdown

Commits

OJ Reeves  committed d4dbfa7

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

  • Participants
  • Parent commits ad94f99
  • Branches default

Comments (0)

Files changed (1)

File CodeSmackdown.Site/Controllers/SnippetsController.cs

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