我有Implicit Controller nammed MailingsController:
class MailingsController extends BaseController {
public function __construct() {
$this->beforeFilter('csrf', array('on' => 'post'));
$lng = Config::get('app.locale');
setlocale(LC_TIME, $lng ."_". strtoupper($lng));
}
public function getEmails() {
die('hi');
}
}
路线:
Route::controller('mailings', 'MailingsController');
观点:
<a href="{{Config::get('app.locale')}}/mailings/emails" > ... </a>
当我点击一个balise时,我得到了回应这个错误:
Error in exception handler: Undefined index: path (View: C:\wamp\www\tst\app\views\errors\404
.blade.php) in C:\wamp\www\tst\app\library\CustomUrlGenerator.php:76