Skip to content

Commit

Permalink
カスタムコンテンツの不要なルーティングが登録されないようにした
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuring committed Feb 25, 2024
1 parent 4388bb4 commit 5a1c092
Show file tree
Hide file tree
Showing 17 changed files with 170 additions and 17 deletions.
11 changes: 10 additions & 1 deletion plugins/bc-custom-content/plugins/BcCcAutoZip/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
/**
* Plugin
*/
class Plugin extends BcPlugin{
class Plugin extends BcPlugin
{

/**
* Routes
* プラグインのルーティンを追加しないように空のメソッドとする
* @param \Cake\Routing\RouteBuilder $routes
* @return void
*/
public function routes(\Cake\Routing\RouteBuilder $routes): void {}

}
11 changes: 10 additions & 1 deletion plugins/bc-custom-content/plugins/BcCcCheckbox/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
/**
* Plugin
*/
class Plugin extends BcPlugin{
class Plugin extends BcPlugin
{

/**
* Routes
* プラグインのルーティンを追加しないように空のメソッドとする
* @param \Cake\Routing\RouteBuilder $routes
* @return void
*/
public function routes(\Cake\Routing\RouteBuilder $routes): void {}

}
11 changes: 10 additions & 1 deletion plugins/bc-custom-content/plugins/BcCcDate/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
/**
* Plugin
*/
class Plugin extends BcPlugin{
class Plugin extends BcPlugin
{

/**
* Routes
* プラグインのルーティンを追加しないように空のメソッドとする
* @param \Cake\Routing\RouteBuilder $routes
* @return void
*/
public function routes(\Cake\Routing\RouteBuilder $routes): void {}

}
11 changes: 10 additions & 1 deletion plugins/bc-custom-content/plugins/BcCcDateTime/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
/**
* Plugin
*/
class Plugin extends BcPlugin{
class Plugin extends BcPlugin
{

/**
* Routes
* プラグインのルーティンを追加しないように空のメソッドとする
* @param \Cake\Routing\RouteBuilder $routes
* @return void
*/
public function routes(\Cake\Routing\RouteBuilder $routes): void {}

}
11 changes: 10 additions & 1 deletion plugins/bc-custom-content/plugins/BcCcEmail/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
/**
* Plugin
*/
class Plugin extends BcPlugin{
class Plugin extends BcPlugin
{

/**
* Routes
* プラグインのルーティンを追加しないように空のメソッドとする
* @param \Cake\Routing\RouteBuilder $routes
* @return void
*/
public function routes(\Cake\Routing\RouteBuilder $routes): void {}

}
11 changes: 10 additions & 1 deletion plugins/bc-custom-content/plugins/BcCcFile/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
/**
* Plugin
*/
class Plugin extends BcPlugin{
class Plugin extends BcPlugin
{

/**
* Routes
* プラグインのルーティンを追加しないように空のメソッドとする
* @param \Cake\Routing\RouteBuilder $routes
* @return void
*/
public function routes(\Cake\Routing\RouteBuilder $routes): void {}

}
11 changes: 10 additions & 1 deletion plugins/bc-custom-content/plugins/BcCcHidden/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
/**
* Plugin
*/
class Plugin extends BcPlugin{
class Plugin extends BcPlugin
{

/**
* Routes
* プラグインのルーティンを追加しないように空のメソッドとする
* @param \Cake\Routing\RouteBuilder $routes
* @return void
*/
public function routes(\Cake\Routing\RouteBuilder $routes): void {}

}
11 changes: 10 additions & 1 deletion plugins/bc-custom-content/plugins/BcCcMultiple/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
/**
* Plugin
*/
class Plugin extends BcPlugin{
class Plugin extends BcPlugin
{

/**
* Routes
* プラグインのルーティンを追加しないように空のメソッドとする
* @param \Cake\Routing\RouteBuilder $routes
* @return void
*/
public function routes(\Cake\Routing\RouteBuilder $routes): void {}

}
11 changes: 10 additions & 1 deletion plugins/bc-custom-content/plugins/BcCcPassword/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
/**
* Plugin
*/
class Plugin extends BcPlugin{
class Plugin extends BcPlugin
{

/**
* Routes
* プラグインのルーティンを追加しないように空のメソッドとする
* @param \Cake\Routing\RouteBuilder $routes
* @return void
*/
public function routes(\Cake\Routing\RouteBuilder $routes): void {}

}
11 changes: 10 additions & 1 deletion plugins/bc-custom-content/plugins/BcCcPref/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
/**
* Plugin
*/
class Plugin extends BcPlugin{
class Plugin extends BcPlugin
{

/**
* Routes
* プラグインのルーティンを追加しないように空のメソッドとする
* @param \Cake\Routing\RouteBuilder $routes
* @return void
*/
public function routes(\Cake\Routing\RouteBuilder $routes): void {}

}
11 changes: 10 additions & 1 deletion plugins/bc-custom-content/plugins/BcCcRadio/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
/**
* Plugin
*/
class Plugin extends BcPlugin{
class Plugin extends BcPlugin
{

/**
* Routes
* プラグインのルーティンを追加しないように空のメソッドとする
* @param \Cake\Routing\RouteBuilder $routes
* @return void
*/
public function routes(\Cake\Routing\RouteBuilder $routes): void {}

}
11 changes: 10 additions & 1 deletion plugins/bc-custom-content/plugins/BcCcRelated/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
/**
* Plugin
*/
class Plugin extends BcPlugin{
class Plugin extends BcPlugin
{

/**
* Routes
* プラグインのルーティンを追加しないように空のメソッドとする
* @param \Cake\Routing\RouteBuilder $routes
* @return void
*/
public function routes(\Cake\Routing\RouteBuilder $routes): void {}

}
11 changes: 10 additions & 1 deletion plugins/bc-custom-content/plugins/BcCcSelect/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
/**
* Plugin
*/
class Plugin extends BcPlugin{
class Plugin extends BcPlugin
{

/**
* Routes
* プラグインのルーティンを追加しないように空のメソッドとする
* @param \Cake\Routing\RouteBuilder $routes
* @return void
*/
public function routes(\Cake\Routing\RouteBuilder $routes): void {}

}
11 changes: 10 additions & 1 deletion plugins/bc-custom-content/plugins/BcCcTel/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
/**
* Plugin
*/
class Plugin extends BcPlugin{
class Plugin extends BcPlugin
{

/**
* Routes
* プラグインのルーティンを追加しないように空のメソッドとする
* @param \Cake\Routing\RouteBuilder $routes
* @return void
*/
public function routes(\Cake\Routing\RouteBuilder $routes): void {}

}
11 changes: 10 additions & 1 deletion plugins/bc-custom-content/plugins/BcCcText/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
/**
* Plugin
*/
class Plugin extends BcPlugin{
class Plugin extends BcPlugin
{

/**
* Routes
* プラグインのルーティンを追加しないように空のメソッドとする
* @param \Cake\Routing\RouteBuilder $routes
* @return void
*/
public function routes(\Cake\Routing\RouteBuilder $routes): void {}

}
11 changes: 10 additions & 1 deletion plugins/bc-custom-content/plugins/BcCcTextarea/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
/**
* Plugin
*/
class Plugin extends BcPlugin{
class Plugin extends BcPlugin
{

/**
* Routes
* プラグインのルーティンを追加しないように空のメソッドとする
* @param \Cake\Routing\RouteBuilder $routes
* @return void
*/
public function routes(\Cake\Routing\RouteBuilder $routes): void {}

}
11 changes: 10 additions & 1 deletion plugins/bc-custom-content/plugins/BcCcWysiwyg/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
/**
* Plugin
*/
class Plugin extends BcPlugin{
class Plugin extends BcPlugin
{

/**
* Routes
* プラグインのルーティンを追加しないように空のメソッドとする
* @param \Cake\Routing\RouteBuilder $routes
* @return void
*/
public function routes(\Cake\Routing\RouteBuilder $routes): void {}

}

0 comments on commit 5a1c092

Please sign in to comment.