From ad24491be3390565c223c0680a915b373fe27c66 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 23 Jan 2017 09:23:57 +0100 Subject: [PATCH] allow anonymous to visit profiles --- Yavsc/Controllers/FrontOfficeController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Yavsc/Controllers/FrontOfficeController.cs b/Yavsc/Controllers/FrontOfficeController.cs index e9efd1c9..f87edaba 100644 --- a/Yavsc/Controllers/FrontOfficeController.cs +++ b/Yavsc/Controllers/FrontOfficeController.cs @@ -45,7 +45,7 @@ namespace Yavsc.Controllers return View(model); } - [Route("Book/{id?}"), HttpGet] + [Route("Book/{id?}"), HttpGet, AllowAnonymous] public ActionResult Book(string id) { if (id == null) @@ -62,7 +62,7 @@ namespace Yavsc.Controllers return View(result); } - [Route("Book/{id}"), HttpPost] + [Route("Book/{id}"), HttpPost, AllowAnonymous] public ActionResult Book(BookQuery bookQuery) { if (ModelState.IsValid)