Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…emplate into staging
  • Loading branch information
Josef Stich committed May 27, 2024
2 parents 2bc67fb + 9884e25 commit 1e762bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
10 changes: 0 additions & 10 deletions Controller/AppController.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
App::uses('Controller', 'Controller');
App::uses('CrudControllerTrait', 'Crud.Lib');

/**
* Application Controller
Expand All @@ -34,8 +33,6 @@
*/
class AppController extends Controller {

use CrudControllerTrait;

/**
* List of global controller components
*
Expand All @@ -44,13 +41,6 @@ class AppController extends Controller {
public $components = [
'RequestHandler',
'Session',
'Crud.Crud' => [
'listeners' => [
'Crud.Api',
'Crud.ApiPagination',
'Crud.ApiQueryLog'
]
],
'Paginator' => ['settings' => ['paramType' => 'querystring', 'limit' => 30]]
];

Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ WORKDIR /app
# Copy the cake2 app template code to the working directory
COPY . .

# remove superfluous files
# remove superfluous files & install composer dependencies
RUN set -xe; \
rm -Rf .editorconfig .github .gitignore CHANGELOG.md Dockerfile README.md
rm -Rf .editorconfig .github .gitignore CHANGELOG.md Dockerfile README.md; \
composer install --no-interaction
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"kba-team/cakephp": "^2.11",
"josegonzalez/dotenv": "1.*",
"ad7six/dsn": "0.3.*",
"friendsofcake/crud": "^3.1",
"phpunit/phpunit": "^9.5"
},
"minimum-stability": "dev",
Expand Down

0 comments on commit 1e762bc

Please sign in to comment.