cakephp-plugin reject-upper-case
reject-upper-case plugin for CakePHP
tutida/reject-upper-case
reject-upper-case plugin for CakePHP
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
RejectUpperCase
This plugin reject addresses used uppercase in name of controller and action., (*1)
ex)
// this is ok url: ...../topics/index
this->Html->link(['controller' => 'topics','action' => 'index']);
// this is rejected url: ...../Topics/Index
this->Html->link(['controller' => 'Topics','action' => 'Index']);
How to use
<?php
App::uses('Controller', 'Controller');
class AppController extends Controller
{
public $components = [
'RejectUpperCase.RejectUpperCase'
];