Ich bin neu in CakePHP 3.0 i erstellt haben eine FormKann nicht Projektnamen aus dem Formular Aktion in CakePHP 3.0
<?php echo $this->Form->create('Login', array('url' => array('controller' => 'Login', 'action' => 'dashboard'))); ?>
<label for="login-username">username</label>
<?= $this->Form->input('username'); ?>
<label for="login-password">password</label>
<?= $this->Form->input('password', array('type'=>'password')); ?>
<?= $this->Form->submit('Login',array('class' => 'button round blue image-right ic-right-arrow')); ?>
<?= $this->Form->end() ?>
Ich habe es zu umleiten Controller und Armaturenbrett Aktion zum Login, entfernen Sie aber in Element inspizieren ich kann Siehe/stock_mgmt_system/login/dashboard Dabei steht stock_mgmt_system für den Projektnamen.
Bitte versuchen Sie, mein Problem zu lösen.
so, was das Problem ist? das sieht alles gut aus. –