Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 91fe219

Browse files
dantleechdbu
authored andcommitted
Made "make homepage" route secure
1 parent 4babfcc commit 91fe219

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tutorial/make-homepage.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,10 @@ making a given page the homepage. Add the following to the existing
328328
/**
329329
* @Route(
330330
* name="make_homepage",
331-
* pattern="/_cms/make_homepage/{id}",
331+
* pattern="/admin/make_homepage/{id}",
332332
* requirements={"id": ".+"}
333333
* )
334+
* @Method({"GET"})
334335
*/
335336
public function makeHomepageAction($id)
336337
{

0 commit comments

Comments
 (0)