Skip to content

Commit

Permalink
fix(faq): recreation content type faq
Browse files Browse the repository at this point in the history
  • Loading branch information
olivocto committed Mar 6, 2023
1 parent 7e4dae0 commit 3a995c6
Show file tree
Hide file tree
Showing 6 changed files with 5,576 additions and 417 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"kind": "collectionType",
"collectionName": "foire_aux_questions",
"info": {
"singularName": "foire-a-la-question",
"pluralName": "foire-aux-questions",
"displayName": "Foire aux questions",
"description": ""
},
"options": {
"draftAndPublish": true
},
"attributes": {
"problematique": {
"type": "string",
"required": true,
"unique": false
},
"reponse": {
"type": "relation",
"relation": "oneToOne",
"target": "api::article.article"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* foire-a-la-question controller
*/

import { factories } from '@strapi/strapi'

export default factories.createCoreController('api::foire-a-la-question.foire-a-la-question');
Loading

0 comments on commit 3a995c6

Please sign in to comment.