Skip to content

Conversation

hernandev
Copy link

Method URL::setRootControllerNamespace is not working yet

  1. Install
  2. Check the file app/Http/Providers/RouteServiceProvider.php
  3. Check the file second/Http/Providers/RouteServiceProvider

each one of those have a setRootControllerNamespace call and
it does not make effect on anyone, since the method is not taken into
consideration since $this->namespaced only read the configs

taylorotwell and others added 25 commits August 28, 2014 14:47
Eloquent and Seeder were used to extend from which is a bad practice.
The SoftDeletingTrait should be imported just like the UserTrait and the RemindableTrait.
Str was also removed because it's just a shortcut for the namespace. People can always re-add it if they like.
I wasn't entirely sure what FormRequest was doing here but I have a feeling it's going to be used for the same reasons as one of the above classes. So I removed it as well.
Convert "language" files php 5.4 arrays
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Fix for the Auth filter and docblock stuff for CSRF filter.
 if you use make:auth it defaults to auth/login for a path. But if you look at the Auth filter it defaults to /login as a path.
[bug] Auth filter still redirects to /login not auth/login
Updated Eloquent to Eloquent\Model
With this new 5.0 branch, there is some issues on composer install. Either keep a 4.3.* branch or change this ?
@GrahamCampbell
Copy link
Member

This should have been sent to the develop branch so we can easily see the changes you've actually made.

@hernandev
Copy link
Author

Sorry @GrahamCampbell, my bad.
the problem is really simple:

  1. URL::setRootControllerNamespace sets the property rootNamespace inside 'url' but the method
    $this->namespaced does not read it, only reads the content of config('namespaces.controllers')

  2. inside the boilerplate RouteProvider there is a typo trying to read 'namespaces.controller' with a missing 's' at the end, i will send the corretions in a moment.

@hernandev
Copy link
Author

@GrahamCampbell please, see this: laravel/framework#5740

@hernandev
Copy link
Author

and also, this #3021 .

i will close this issue since the others are better structured

@hernandev hernandev closed this Sep 15, 2014
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

Successfully merging this pull request may close these issues.