When I run my local application, styles and js are loaded normally.
The css and js are in public / css and public / js.
In production are not loaded, below the production .htaccess:
<IfModule mod_rewrite.c>
<IfModule mod_negoti...
I'm working with group routes on laravel 5.2 and I'm having problem with the create.store part of the route that saves my object.
My files are structured as follows:
ClientController.php
<?php
namespace App\Http\Control...
I need to implement a configuration screen, where the user can set the data for sending e-mail as: MAIL_DRIVER , MAIL_HOST , MAIL_PORT
MAIL_USERNAME , MAIL_PASSWORD , MAIL_ENCRYPTION , etc.
In this case the...
I am working on the Batch table of my project where each batch will have its only product and each product will have multiple batches. I set up the whole relationship and now I'm testing access by métodos . When doing $produto->lotes...
I'm creating an application where I have to validate the data sent to the bank (obvious), but I'm having the following error:
ErrorException in FileLoader.php line 109:
Object of class Illuminate \ Routing \ Router could not be conve...
I'm having a problem with my model, I do not really know what's going on, I'm creating a packaging CRUD where I add everything dynamically with the laravel by the requests in the function signature.
When trying to edit / view / delete my cont...
So I need to create an application with Laravel 5 where different users can be authenticated in a specific database where the system is.
After logging in, each user can change information within the system, and this information must be on ano...
I have a page with a "back" link. Is there a way to call the back() method of Laravel within href of the link?
This code does not work, but I want something like
href="{{URL::to(back())}}"
I saw that I can use different connections for my models by defining them as follows:
class Aparelho extends Model
{
protected $connection = 'minha_conexao';
protected $table = 'aparelhos';
}
But how can I define this dynamically? T...
I have 2 different pages that access the same control. The idea is that I retrieve which page made the request, because depending on what it takes the two different returns.
Ex.
I have a button to send a product to the cart, but this one b...