themeselection / sneat-bootstrap-html-laravel-admin-template-free

Most Powerful & Comprehensive Free Bootstrap 5 HTML Laravel Admin Dashboard Template built for developers!
https://themeselection.com/item/sneat-free-bootstrap-html-laravel-admin-template/
MIT License
411 stars 171 forks source link

Improve namespace controller #1

Closed ramdani15 closed 9 months ago

ramdani15 commented 2 years ago

This PR improves the controller namespace for the routes, so you don't have to define and repeat your controller namespace for the routes.

What changed

protected $namespace = 'App\\Http\\Controllers';

from

$controller_path = 'App\Http\Controllers';

// Main Page Route
Route::get('/', $controller_path . '\dashboard\Analytics@index')->name('dashboard-analytics');

to

// Main Page Route
Route::get('/', 'dashboard\Analytics@index')->name('dashboard-analytics');
smitbhalodiya commented 9 months ago

Hi @ramdani15,

Thank you for your suggestion.

We would like to inform you that the routes have been updated in our latest release. You can view these updates by checking out the most recent version. We encourage you to upgrade to this version to see the changes and improvements we've implemented.

Regarding your pull request, we regret to inform you that we were not able to accept it at this time. However, we truly appreciate your contribution and encourage you to continue sharing your ideas and feedback with us.

Regards, Smit Bhalodiya