Skip to content

Commit

Permalink
Merge pull request #7 from loadsys/b/issue-cleanup
Browse files Browse the repository at this point in the history
B/issue cleanup
  • Loading branch information
beporter committed Jul 22, 2015
2 parents aab7e9f + 6943445 commit d7cb8bd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 19 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Sets a `creator_id` and `modifier_id` on records during save using the logged in
### Composer

````bash
$ composer require loadsys/loadsys/cakephp-creatormodifier:~1.0
$ composer require loadsys/cakephp-creatormodifier:~1.0
````


Expand Down
6 changes: 1 addition & 5 deletions config/routes.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
<?php
use Cake\Routing\Router;

Router::plugin('CreatorModifier', function ($routes) {
$routes->fallbacks('InflectedRoute');
});
// No routes necessary for this plugin.
8 changes: 0 additions & 8 deletions src/Controller/AppController.php

This file was deleted.

8 changes: 3 additions & 5 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
require ROOT . '/vendor/autoload.php';
require CORE_PATH . 'config/bootstrap.php';

Cake\Core\Configure::write('App', ['namespace' => 'Crud\Test\App']);
Cake\Core\Configure::write('App', ['namespace' => 'CreatorModifier']);
Cake\Core\Configure::write('debug', true);

$TMP = new \Cake\Filesystem\Folder(TMP);
Expand All @@ -52,14 +52,14 @@
],
'_cake_core_' => [
'className' => 'File',
'prefix' => 'crud_myapp_cake_core_',
'prefix' => 'creatormodifier_cake_core_',
'path' => CACHE . 'persistent/',
'serialize' => true,
'duration' => '+10 seconds'
],
'_cake_model_' => [
'className' => 'File',
'prefix' => 'crud_my_app_cake_model_',
'prefix' => 'creatormodifier_cake_model_',
'path' => CACHE . 'models/',
'serialize' => 'File',
'duration' => '+10 seconds'
Expand All @@ -71,8 +71,6 @@
'defaults' => 'php'
]);

Cake\Core\Plugin::load('Crud', ['path' => ROOT . DS, 'autoload' => true]);

Cake\Routing\DispatcherFactory::add('Routing');
Cake\Routing\DispatcherFactory::add('ControllerFactory');

Expand Down

0 comments on commit d7cb8bd

Please sign in to comment.