Skip to content

Commit

Permalink
Exposes the Article Patch
Browse files Browse the repository at this point in the history
  • Loading branch information
terwey committed Jul 11, 2014
1 parent b37e905 commit c3f04be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ArticlesController extends FOSRestController
* }
* )
*
* @Route("/articles/{number}/{language}.{_format}", defaults={"_format"="json", "language"="en"})
* @Route("/articles/{number}/{language}.{_format}", defaults={"_format"="json", "language"="en"}, options={"expose"=true}, name="newscoop_gimme_articles_patcharticle")
* @Method("PATCH")
*/
public function patchArticleAction(Request $request, $number, $language)
Expand Down

0 comments on commit c3f04be

Please sign in to comment.