File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
app/code/Magento/ProductAlert/Controller/Add Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 66
77namespace Magento \ProductAlert \Controller \Add ;
88
9+ use Magento \Framework \App \Action \HttpGetActionInterface ;
910use Magento \Framework \App \Action \HttpPostActionInterface ;
1011use Magento \ProductAlert \Controller \Add as AddController ;
1112use Magento \Framework \App \Action \Context ;
2021/**
2122 * Controller for notifying about price.
2223 */
23- class Price extends AddController implements HttpPostActionInterface
24+ class Price extends AddController implements HttpPostActionInterface, HttpGetActionInterface
2425{
2526 /**
2627 * @var \Magento\Store\Model\StoreManagerInterface
Original file line number Diff line number Diff line change 66
77namespace Magento \ProductAlert \Controller \Add ;
88
9+ use Magento \Framework \App \Action \HttpGetActionInterface ;
910use Magento \Framework \App \Action \HttpPostActionInterface ;
1011use Magento \ProductAlert \Controller \Add as AddController ;
1112use Magento \Framework \App \Action \Context ;
1920/**
2021 * Controller for notifying about stock.
2122 */
22- class Stock extends AddController implements HttpPostActionInterface
23+ class Stock extends AddController implements HttpPostActionInterface, HttpGetActionInterface
2324{
2425 /**
2526 * @var \Magento\Catalog\Api\ProductRepositoryInterface
You can’t perform that action at this time.
0 commit comments