Skip to content

Commit 7e0bb29

Browse files
Added attribute overrides to PDF header and footer
1 parent 4fe978a commit 7e0bb29

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Presentation/SmartStore.Web/Controllers/CommonController.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -928,6 +928,7 @@ public ActionResult AccountDropdown()
928928
return PartialView(model);
929929
}
930930

931+
[OverrideActionFilters, OverrideAuthorization]
931932
public ActionResult PdfReceiptHeader(PdfHeaderFooterVariables vars, int storeId = 0, bool isPartial = false)
932933
{
933934
var model = PreparePdfReceiptHeaderFooterModel(storeId);
@@ -940,6 +941,7 @@ public ActionResult PdfReceiptHeader(PdfHeaderFooterVariables vars, int storeId
940941
return View(model);
941942
}
942943

944+
[OverrideActionFilters, OverrideAuthorization]
943945
public ActionResult PdfReceiptFooter(PdfHeaderFooterVariables vars, int storeId = 0, bool isPartial = false)
944946
{
945947
var model = PreparePdfReceiptHeaderFooterModel(storeId);

0 commit comments

Comments
 (0)