Most voted "laravel-routes" questions
For URL mapping questions for Actions and Controllers.
Learn more…130 questions
Sort by count of
-
0
votes2
answers350
viewsHow do I set apache to ignore the directory in the url?
I have a directory inside my root folder called "mydir" where there are several files, currently I access these files so: http://mysite.com/mydir/myarchive.html My question is I have how to…
-
0
votes1
answer226
viewsVue-router replace not working?
I am developing a PWA and I am having problems with the router, because when I use the back button of my smartphone it goes through all the previously visited routes only to after exit the…
-
0
votes1
answer186
viewsRoute problem with MVC 5 C#
I’ve already researched it, I’ve spent two hours burning the dog but I couldn’t find a solution. Has anyone ever had that problem? I have the following link:…
-
0
votes1
answer290
viewsBlocking routes for non-logged-in users
I’m doing an application and now that it’s almost complete I was testing the attacks. I realized that with ngRoute routes the application is vulnerable to url entries. For example, the application…
-
0
votes1
answer241
viewsDaughter routes at angular4
Hello, I’m encountering problems with my daughter routes. Just follow my lead: export const ROUTES: Routes = [ { path: '', redirectTo: 'Login', pathMatch: 'full' }, { path: 'Login', component: Login…
-
0
votes1
answer83
viewsRefresh with angular + IIS
I published an angular application on IIS and at first my application works normally, but when I refresh the page, I get a Not Found error. I looked at several websites and saw that it was necessary…
-
0
votes1
answer296
viewsRoutes at Angular 2+
My application starts with the Logincomponent component: bootstrap: [LoginComponent] In my login routing module I set the following routes: const loginRoutes: Routes = [ {path: 'dash', component:…
-
0
votes0
answers67
viewsreturn to view before executing the route.. nodejs
Good afternoon guys how do I return to view that fired the route without executes it ?? follows below the passage... app.post('/atendimentos/pesquisa', home.loggedIn, function (req, res) { var…
-
0
votes1
answer492
viewsLaravel Dynamic Route
I have the following question. It is correct to create a dynamic route to return my views, or I have to create a route for each controller and return the appropriate view? Example of the code I’m…
-
0
votes1
answer33
viewsPath with Laravel URL parameters
It’s a silly question, but I’m racking my brain. I have the url subcategory/sessao/3/1/Facirolli04 where they are as follows, 3 - would be the category 1 - would be the session Facirolli04 - would…
-
0
votes0
answers79
viewsHow to route pages on the Electron?
I have an application in Electron with several HTML files and I would like to create routes in Electron as well as in Express. For example, on the home page of the application the user should log…
-
0
votes1
answer33
viewsRoute guard with asynchronous event
I have a route guard that checks if the user is logged in from a token in the Torage locale that works very well. But he doesn’t expect any asynchronous events. I need to create a new route guard…
-
0
votes2
answers66
viewsHow to search for all associations in a relationship tree in Laravel?
I’m having a dilemma. I have tables that relate, like,: internal_clients->Subsidiaries->departments->job_titles->users I also have their respective models. My question is: How do I get…
-
0
votes0
answers44
viewsHow to create dynamic routes at Angular 9
I’m having trouble creating dynamic routes, in case my system has customers and each client has a code. Wanted in the url or route, when inform the client code on the route, it fetch the customer…
-
0
votes0
answers16
viewsThe slim route is not catching the callable
He takes the methods and Patterns, but it looks like he’s ingorando the callable. $group->group('/figure', function (\Slim\Routing\RouteCollectorProxy $group) { $group->map(['GET'],…
-
0
votes0
answers17
viewserror when url has more parameters
I’m doing a user-friendly url forwarding with page access verification per database, but I have a problem when the URL has more parameters on it, like if the URL looks like this www.site.com/a/b/c…
-
0
votes2
answers35
viewsSplashscreen with named routes
I’m using the Splashscreen package in my app. I want the splashscreen screen the app identify that there is already a logged in user that was done with firebase. However, along with the route call…
-
0
votes1
answer46
viewsAngular - Route opens wrong component
When executing the route home/person/create loads the component person and not the create. I have little experience with routes in Angular if anyone has any suggestions. Thank you! The route…
-
-1
votes2
answers175
viewsRouter Link with variables
again I have brought a doubt about Angular!! I am angular developer 1,5 years and to date I have not found a way to use Routerlink passing the URL through a variable. The ways I tried were all…
-
-1
votes1
answer48
viewsSame url works sometimes yes and sometimes no
I am with a web form, in which I have this code: <form action="../../MenuPrincipal" method="POST" class="form-inline"> <button type="submit"> </form> and my file structure is like…
-
-1
votes1
answer699
viewsNot operating route in production
I’m having a problem, I recently deployed a 6 Airframe project in production. I have the following route: Route::get('/', function () { return view('welcome'); }); Route::resource('email',…
-
-1
votes1
answer229
viewsUse more than one function in the Get Method route with Node.js
Good evening, I’m starting to learn about Ode and React.js and I’m having a problem because I need to use more than one function on the same route and by get method. I did the code below, it’s…
-
-1
votes1
answer179
viewsproblem with Routes Laravel 7.0 shared hosting
Oops! First your lay half still in the Aravel I was able to put in production (shared server Cpanel Locaweb) but I work in parts the index stay top consulting the bank using multTenant so as other…
-
-1
votes3
answers563
viewsPass view data array to Laravel controller
I’m trying to pass an array of mine view for a controller (it will generate a pdf) in Laravel. I know there’s a chance I could do it this way: <form class="form-horizontal" method="get"…
-
-1
votes1
answer29
viewsRescuing data from request.headers in Node.js
hello personal I am new here, I am trying to rescue data from a post in nodejs by the request.headers through a middleware I created, but the function in the route file that is separated from the…
-
-1
votes1
answer26
viewsproblems with routes in JS + handlebars (Referenceerror: home is not defined)
I’m learning Ode.js, but I’m getting too caught up in establishing the routes correctly. The structure of my folder is currently like this The code of the file server.js is thus found: const express…
-
-1
votes3
answers45
viewsI can’t get the "id" parameter of the URL in Angular 12 using Activatedroute?
The URL 'user/1' for example, it doesn’t work. But I use '/user? id=1' works and I can list but it’s not in the format I want. In my builder I declared an attribute ActivatedRoute, which I use in my…
-
-1
votes0
answers7
viewsHow do I blur the table "X" act when saving Document in Table "Y"?
I need that when saving a subject to a student, the request for said subject is deleted. i access requests through the Solicitudcontroller public function solicitudes() {…
-
-2
votes1
answer81
viewsModal with Ajax PHP
Hello! I am working with MVC structure and routes and I am trying to open a modal with data from a record to be able to update. For this I created a function in js and put in the update link. This…
-
-3
votes1
answer202
viewsRoute does not work in Vue.js - Go to ' / ' instead of ' ' /login '
Good night, you guys! I’m starting to learn and am creating my first project with Vue.js. It happens that I created a route '/login' but the component that loads is the 'Content' that is at the root…