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; | |
| use Illuminate\Database\Eloquent\Model; | |
| class Question extends Model | |
| { | |
| /** | |
| * Get the answers for the blog post. |
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; | |
| use Illuminate\Database\Eloquent\Model; | |
| class Answer extends Model | |
| { | |
| /** | |
| * Get the question that owns the answer. |
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
| app.get('/v1/email_templates/:lang', UPLOAD_CONFIG.common, (req, res) => { | |
| if (req.auth !== false) { | |
| emailTemplate.getEmailTemplates(req, response => logSentResponse(req, res, response)); | |
| } | |
| }); | |
| app.get('/v1/email_templates/:name/:lang', UPLOAD_CONFIG.common, (req, res) => { | |
| if (req.auth !== false) { | |
| emailTemplate.getEmailTemplate(req, response => logSentResponse(req, res, response)); | |
| } |
OlderNewer