- Renamed Model to BaseModel (make it clear)
- Updated RoboFile to compile assets or else tests break
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
<?php
|
||||
namespace MailPoet\Router;
|
||||
|
||||
if(!defined('ABSPATH')) exit;
|
||||
|
||||
class Settings {
|
||||
function __construct() {
|
||||
}
|
||||
|
||||
function get($params) {
|
||||
$data = array(
|
||||
'first_name' => 'John',
|
||||
'last_name' => 'Mailer',
|
||||
'email' => 'john@mailpoet.com'
|
||||
);
|
||||
wp_send_json($params);
|
||||
}
|
||||
}
|
||||
<?php
|
||||
namespace MailPoet\Router;
|
||||
|
||||
if(!defined('ABSPATH')) exit;
|
||||
|
||||
class Settings {
|
||||
function __construct() {
|
||||
}
|
||||
|
||||
function get($params) {
|
||||
$data = array(
|
||||
'first_name' => 'John',
|
||||
'last_name' => 'Mailer',
|
||||
'email' => 'john@mailpoet.com'
|
||||
);
|
||||
wp_send_json($params);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user