Questions tagged as 'laravel-rotas'

1
answer

Laravel 4.2 - 405 Method Not Allowed

I have a route that was working normally and stopped working for no apparent reason. It has the following configuration: Route::put('/clientes', 'Clientes@update'); The error I get is: Method Not Allowed The requested method PUT is not al...
asked by 04.11.2015 / 10:20
1
answer

Missing required parameters for [Route:] [URI: / {} /]

I'm trying to pass an update parameter, but this is giving error. Controller public function update(ColaborationFormRequest $request, $id { $dataForm = $request->all(); $colaboration = $this->colaboration->find($id); $u...
asked by 20.12.2018 / 15:36
1
answer

My site loads different pages on different Operating Systems

I'm going through a very strange problem. When using Windows (Windows 7), my page loads as expected: @extends + index.php In Linux (Ubuntu 13.10) he is redirecting me to the / user / login route for no reason: @extends + login.php...
asked by 19.02.2014 / 20:25
3
answers

Error with complementary routes in Laravel 4

Initially, I created the following route (1st search): Route::get('/buscar/profissoes/{city_id_slug?}', array('as' => 'neighborhoods.city', 'uses' => 'NeighborhoodsController@getIndexCity')); Then the URL looks like this at the e...
asked by 17.12.2013 / 12:11
1
answer

Difficulties in Creating Routes and Controller Laravel 5.1

I created a CRUD with Modal is working everything right but I created form request data view, queries with BD all inside Routes, I do not think very cool would like to pass these features to the Controller to do but is not working is appearing t...
asked by 11.04.2016 / 22:01
1
answer

Files in the public folder using Laravel 4.2 are inaccessible

Hello, I have an application where some files are created in the public folder of Laravel 4.2 , then send an email to the user with the URL's to download these files , but an error occurred while attempting to download. Initially...
asked by 13.12.2016 / 16:18
2
answers

Problem with Routes Laravel 5

I've arranged my Controllers for folders: Ex: Panel / Concessionaire / Trademarks - > CarrosController.php On Route I tried to report this way Route::get('Painel\Concessesionaria\Marcas', ['as' => 'marcas', function () { Route::get...
asked by 28.04.2016 / 22:47
1
answer

Middleware for authentication by routing to an existing vector in Laravel

I am now beginning to understand Laravel's routing system, and I have a question about Middlewares. Can I have two equal routing for the same vector where, when my user is authenticated, will the return of this routing be different? Example: R...
asked by 22.07.2015 / 17:04
2
answers

Parameter passage laravel

How do I step 2 or more variables on the route? View <a href="{{route('transferir.edit', [$destino->servidor->idservidor, $destino->setor])}}" class="btn btn-default btn-xs" role="button"><span class="glyphicon glyphicon-r...
asked by 14.11.2017 / 16:48
1
answer

Route error when accessing the page in Laravel

   composer require mnabialek / laravel-eloquent-filter The error below appears, I did not make any changes besides executing this command. ReflectionException in Route.php line 333: Method App \ Http \ Controllers \ AdvertisementC...
asked by 23.10.2016 / 02:36