Rayderxx
10/25/2021, 10:05 AM`Sebastlan
10/25/2021, 10:06 AMpublic function register()
{
$this->app->bind('path.public', function() {
return base_path().'/../public_html';
});
}Rayderxx
10/25/2021, 10:07 AMRayderxx
10/25/2021, 10:07 AMphp
$this->app->instance('path.storage', '/public_html/storage');`Sebastlan
10/25/2021, 10:15 AMIvan Markov
10/25/2021, 1:32 PMifox
10/25/2021, 1:33 PMIvan Markov
10/25/2021, 1:34 PMifox
10/25/2021, 1:35 PMrepository key in there with the repository class as valueIvan Markov
10/25/2021, 1:39 PM`Sebastlan
10/25/2021, 2:15 PMpboivin
10/25/2021, 2:26 PM`Sebastlan
10/25/2021, 2:34 PM`Sebastlan
10/25/2021, 2:35 PMpboivin
10/25/2021, 2:36 PMsecondary_navigation. Did you just copy and paste the code from the docs into your project?`Sebastlan
10/25/2021, 2:37 PM`Sebastlan
10/25/2021, 2:38 PM`Sebastlan
10/25/2021, 2:38 PMifox
10/25/2021, 2:38 PM`Sebastlan
10/25/2021, 2:40 PM`
'posts' => [
'title' => 'Blog',
'route' => 'admin.blog.posts.index',
'primary_navigation' => [
'posts' => [
'title' => 'Posty',
'module' => true,
'secondary_navigation' => [
'postCategories' => [
'title' => 'name',
'module' => true
],
],
],
],
],
Route::group(['prefix' => 'blog'], function () {
Route::module('posts');
Route::group(['prefix' => 'posts'], function () {
Route::module('postCategories');
});
});`Sebastlan
10/25/2021, 2:45 PMpboivin
10/25/2021, 2:51 PMRoute::group(['prefix' => 'blog'], function () {
Route::group(['prefix' => 'posts'], function () {
Route::module('postCategories');
});
Route::module('posts');
});`Sebastlan
10/25/2021, 2:53 PM`Sebastlan
10/25/2021, 2:54 PMifox
10/25/2021, 2:54 PMifox
10/25/2021, 2:54 PM`Sebastlan
10/25/2021, 2:55 PMifox
10/25/2021, 2:55 PM'blog' => [
'title' => 'Blog',
'route' => 'admin.blog.posts.index',
'primary_navigation' => [
'posts' => [
'title' => 'Posty',
'module' => true,
'secondary_navigation' => [
'postCategories' => [
'title' => 'name',
'module' => true
],
],
],
],
],ifox
10/25/2021, 2:56 PM`Sebastlan
10/25/2021, 2:56 PM