Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routes breaking under Laravel 5.2.29 #63

Closed
GSheltonIII opened this issue Apr 14, 2016 · 2 comments
Closed

Routes breaking under Laravel 5.2.29 #63

GSheltonIII opened this issue Apr 14, 2016 · 2 comments

Comments

@GSheltonIII
Copy link

(Fairly new to laravel, please be gentle.)

Fresh install of laravel 5.2.29. Following instructions for manual 5.2 installation.

Once I edit app.php to include:
To register the Service Provider edit config/app.php file and add to providers array:

/*
* Acacha AdminLTE template provider
 */
Acacha\AdminLTETemplateLaravel\Providers\AdminLTETemplateServiceProvider::class,

To Register Alias edit config/app.php file and add to alias array:

/*
* Acacha AdminLTE template alias
*/
'AdminLTE' => Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class,

I can no longer change the / and /home routes. Regardless of what is in my routes file, '/' always directs to welcome.blade.php.

I was running under 5.2.16 with no problems. When I updated to 5.2.29, my routes broke. I started a fresh copy and began to add things in one at a time until the issue happened.

To recreate this, install a fresh copy of Laravel. Change '/' route to something else (welcome2) and create a blade for it. Ensure you are seeing the new page. Begin the installation of adminlte-laravel. As soon as app.php is updated, '/' will return to welcome.blade.php again with no changes to the routes.

Please let me know if there is more information needed.

@SatoshiDark
Copy link

@GSheltonIII
Copy link
Author

Thank you.

This: #47 is where I found the answer.

In the installation instructions, it should say:
"Yes once package publish files you can remove AdminLTE service provider so it's an option ;-)"

Thank you again SatoshiDark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants