File tree 1 file changed +7
-2
lines changed
app/code/Magento/Paypal/Controller/Billing/Agreement
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Magento \Paypal \Controller \Billing \Agreement ;
8
8
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
10
15
{
11
16
/**
12
17
* View billing agreements
@@ -16,7 +21,7 @@ class Index extends \Magento\Paypal\Controller\Billing\Agreement
16
21
public function execute ()
17
22
{
18
23
$ this ->_view ->loadLayout ();
19
- $ this ->_view ->getPage ()->getConfig ()->getTitle ()->prepend (__ ('Billing Agreements ' ));
24
+ $ this ->_view ->getPage ()->getConfig ()->getTitle ()->set (__ ('Billing Agreements ' ));
20
25
$ this ->_view ->renderLayout ();
21
26
}
22
27
}
You can’t perform that action at this time.
0 commit comments