Skip to content

Commit

Permalink
Merge pull request #39 from partio-scout/feature/cookies-page
Browse files Browse the repository at this point in the history
Add Cookiepage Single type to Strapi
  • Loading branch information
linneamyl authored Nov 23, 2021
2 parents d9f9b88 + 2648e30 commit 4bf233f
Show file tree
Hide file tree
Showing 7 changed files with 901 additions and 1 deletion.
28 changes: 28 additions & 0 deletions api/cookie-page/config/routes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"routes": [
{
"method": "GET",
"path": "/cookie-page",
"handler": "cookie-page.find",
"config": {
"policies": []
}
},
{
"method": "PUT",
"path": "/cookie-page",
"handler": "cookie-page.update",
"config": {
"policies": []
}
},
{
"method": "DELETE",
"path": "/cookie-page",
"handler": "cookie-page.delete",
"config": {
"policies": []
}
}
]
}
8 changes: 8 additions & 0 deletions api/cookie-page/controllers/cookie-page.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'use strict';

/**
* Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-controllers)
* to customize this controller
*/

module.exports = {};
Loading

0 comments on commit 4bf233f

Please sign in to comment.