Skip to content

Fixed issue #22875 Billing Agreements page title need to be improved #22876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
*/
namespace Magento\Paypal\Controller\Billing\Agreement;

class Index extends \Magento\Paypal\Controller\Billing\Agreement
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;

/**
* Index Controller.
*/
class Index extends \Magento\Paypal\Controller\Billing\Agreement implements HttpGetActionInterface
{
/**
* View billing agreements
Expand All @@ -16,7 +21,7 @@ class Index extends \Magento\Paypal\Controller\Billing\Agreement
public function execute()
{
$this->_view->loadLayout();
$this->_view->getPage()->getConfig()->getTitle()->prepend(__('Billing Agreements'));
$this->_view->getPage()->getConfig()->getTitle()->set(__('Billing Agreements'));
$this->_view->renderLayout();
}
}