This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Controller; | |
use App\Controller\AppController; | |
/** | |
* Bookmarks Controller | |
* | |
* @property App\Model\Table\BookmarksTable $Bookmarks | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
App::uses('ArticlesController', 'Controller'); | |
/** | |
* ArticlesController Test Case | |
* | |
*/ | |
class ArticlesControllerTest extends ControllerTestCase { | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Controller; | |
use Cake\Controller\Controller; | |
/** | |
* Application Controller | |
* | |
* Add your application-wide methods in the class below, your controllers | |
* will inherit them. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This requires capistrano 2.x and fails horribly with 3.x | |
load 'deploy' if respond_to?(:namespace) # cap2 differentiator | |
load 'config/deploy' # remove this line to skip loading any of the default tasks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Model\Table; | |
use Cake\ORM\Table; | |
class OpportunitiesTable extends Table { | |
public function initialize(array $config){ | |
$this->table("DAS_Opportunity"); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Model\Entity; | |
use Cake\ORM\Entity; | |
/** | |
* Bookmark Entity. | |
*/ | |
class Bookmark extends Entity | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<checkstyle version="4.3"> | |
<file name="tests/fixtures/jshint/has_errors.js"> | |
<error line="1" column="10" severity="warning" message="Missing name in function declaration." source="jshint.W025" /> | |
<error line="4" column="18" severity="warning" message="Missing semicolon." source="jshint.W033" /> | |
<error line="6" column="13" severity="warning" message="Use '===' to compare with 'null'." source="jshint.W041" /> | |
<error line="9" column="2" severity="error" message="Function declarations are not invocable. Wrap the whole function invocation in parens." source="jshint.E039" /> | |
<error line="9" column="3" severity="warning" message="Expected an assignment or function call and instead saw an expression." source="jshint.W030" /> | |
</file> | |
</checkstyle> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
X-Header: some content\r\n | |
goes here and here\r\n | |
more here\r\n | |
X-Header-2: single value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Billings::Subscription | |
.where(systemid: Role.where( | |
identity_id: id, | |
role: Role::ADMIN_ROLE || Role::STAFF_ROLE).map(&:systemid)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/i18n/en.js b/i18n/en.js | |
index c718cee..b68308f 100644 | |
--- a/i18n/en.js | |
+++ b/i18n/en.js | |
@@ -59,8 +59,6 @@ var i18n = { | |
}, | |
"lateReminderCreate": { | |
"free": { | |
- "headline": "To send payment reminders and more, go Pro", | |
- "subHeadline": "Payment reminders are included with all Pro plans. To use payment reminders and other Pro features, choose a plan or call 1-866-417-2795 if you need a hand." |