Skip to content

tutida/reject-upper-case

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RejectUpperCase

This plugin reject addresses used uppercase in name of controller and action.

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'
    ];

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages