0
はまた受け入れるべきルーティングサブディレクトリのKohana 3.2で
http://example.com/foo/bar/controller/action/id
、すなわち:
http://example.com/foo/controller/action/id
http://example.com/foo/bar/baz/controller/action/id
おかげ
はまた受け入れるべきルーティングサブディレクトリのKohana 3.2で
http://example.com/foo/bar/controller/action/id
、すなわち:
http://example.com/foo/controller/action/id
http://example.com/foo/bar/baz/controller/action/id
おかげ
Route::set('foo', 'foo(/<controller>(/<action>(/<id>)))')
->defaults(array(
'directory' => 'foo',
'controller' => 'index',
));
Route::set('foobar', 'foo/bar(/<controller>(/<action>(/<id>)))')
->defaults(array(
'directory' => 'foo/bar',
'controller' => 'index',
));
を...または...
Route::set('directory', '<directory>(/<controller>(/<action>(/<id>)))',
array(
'directory' => '.*',
))
->defaults(array(
'controller' => 'index',
));