Skip to content

Commit c3aba3a

Browse files
authored
ENGCOM-5125: Fixed issue magento#22875 Billing Agreements page title need to be improved magento#22876
2 parents 094fb10 + 35f8359 commit c3aba3a

File tree

1 file changed

+7
-2
lines changed
  • app/code/Magento/Paypal/Controller/Billing/Agreement

1 file changed

+7
-2
lines changed

app/code/Magento/Paypal/Controller/Billing/Agreement/Index.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@
66
*/
77
namespace Magento\Paypal\Controller\Billing\Agreement;
88

9-
class Index extends \Magento\Paypal\Controller\Billing\Agreement
9+
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
10+
11+
/**
12+
* Index Controller.
13+
*/
14+
class Index extends \Magento\Paypal\Controller\Billing\Agreement implements HttpGetActionInterface
1015
{
1116
/**
1217
* View billing agreements
@@ -16,7 +21,7 @@ class Index extends \Magento\Paypal\Controller\Billing\Agreement
1621
public function execute()
1722
{
1823
$this->_view->loadLayout();
19-
$this->_view->getPage()->getConfig()->getTitle()->prepend(__('Billing Agreements'));
24+
$this->_view->getPage()->getConfig()->getTitle()->set(__('Billing Agreements'));
2025
$this->_view->renderLayout();
2126
}
2227
}

0 commit comments

Comments
 (0)