Most voted "route" questions
93 questions
Sort by count of
-
9
votes2
answers1707
viewsRoutes Laravel 5.3
Good afternoon guys, I noticed that Laravel 5.3 has a new folder "Route", with the routes. By default it uses web.php I wonder, how can I create other routes without being inside the web.php, I…
-
8
votes1
answer867
viewsHow to return to "waypoint_order" in the Google Directions API?
I’m developing a route mapping system using the Google Maps API. I have the points of origin and destination and between those points there are some points of interest. When plotting the route…
-
6
votes1
answer1202
viewsHow can I differentiate authentications in the Standard? Example: Administrator and Common User without using multauth
How can I differentiate routes for the same auth? I have a User table and in it I have registered two types of user: admin and common user, both in the User table, with the same attributes. How can…
-
5
votes1
answer1377
viewsHow to implement a Route System in MVC?
I am creating an MVC Framework (more for studies), and I am trying to implement a route system, but I’m not sure how/where to run the routes. So I’d like to know if there’s any flow of execution of…
-
4
votes2
answers479
viewsHow to make a dynamic meta descripition in Angularjs?
How to do to the description, who is in a Array in the controller, is rendered to the <meta name="description" content="{{metadescription}}"> , which is in index.html, and can appear…
-
3
votes1
answer104
viewsDisfigured ASP.NET routes
From trying and searching I think I’ve disfigured something important, so I can’t make the routes work. In this image it appears that the form is being posted to the Loginprofessional controller in…
-
3
votes2
answers449
viewsMapmvcattributeroutes with Pagedlist.MVC
I’m using the routes.MapMvcAttributeRoutes(); to decorate my actions with the Url I want to appear in the browser, and it has worked very well, however, when using with the PagedList I’ve been…
-
3
votes3
answers241
viewsURL of route being incorrectly mounted
I am with a project in Asp.net mvc 4, using Attributerouting to set up the routes, and I’m checking a strange behavior. When mounting my GET and POST actions in that order: [GET("editar/{id}")]…
-
3
votes3
answers2107
viewsRoute access control - Laravel 5.1
I have some views that only clients can access, and some that only administrators can access. What I defined in this case is id_client, which if it is "1" is administrator and if it is any other…
-
3
votes1
answer361
viewsUse of routes at the frontend or backend
In relation to routing, it is more appropriate for routing to be on front and the same make requests to the server through AJAX, or the routing stay in the back and render the same views of front?…
-
3
votes2
answers67
viewsRoute c# redirecting to wrong action
I have an action that returns a Partialview [HttpPost] public ActionResult SelectCidadesPorCodigoUF(int idUF) { //It do something and returns a PartialView } This action is mapped as follows:…
-
3
votes1
answer101
viewsREST in the microframework Inphinit
To experimental functionality REST Inphinit microframework requires a class with 7 functions index create store show edit update destroy In a REST API basically two are required entry points for the…
-
3
votes1
answer1163
viewsNavigation with named routes
I am trying to create some routes named in flutter. When clicking on a floating button, I should direct myself to a screen called new_flight.Dart however, I am seeing an exception: I/flutter (…
-
2
votes3
answers128
viewsNomethoderror in Users#show
I’m learning Rails, following a book that has the following code: Usercontroller class UsersController < ApplicationController def new @user = User.new end def edit @user = User.find(params[:id])…
-
2
votes1
answer229
viewsRoutes - Codeigniter
I wonder what this $ means in defining routes, for example : route["(.*)-sid-(:num)-(:num)"] = "services/service/$2/$3"; What it represents $2and $3?…
-
2
votes1
answer722
viewsLaravel - How to call a different action from store,update, Edit?
I created a action without being the standard of resource, how can I call the same for an action on form as I call the update and store. <form method="POST" role="form"…
-
2
votes0
answers57
viewsProblema ao enviar email AWS
I have two domains, .com and .com.br, for the domain .com all the e-mails sent and received are all right. However if I send e-mail to the .com.br the e-mail turning back. For example,…
-
2
votes1
answer55
viewsRoutes with wildcard (:any) ignoring other controllers
In the archive Routes.php I defined the following route: $route['(:any)'] = 'reference/check/$1'; I need it because the first parameter in the URL after the domain is the username…
-
2
votes1
answer256
viewsFront page - Ionic and ui-router
I am setting an application opening page, where a list is displayed and clicking on an item, the user is directed to a page that contains tabs. As shown below: Each tab should display the contents…
-
2
votes1
answer220
viewsWhy does the index() method not recognize the [IC] redirect?
I’m following a course and stopped at a problem that I can’t solve. In this link it is possible to register a user and when finishing the registration he should go to this page but the only thing…
-
2
votes1
answer1098
viewsHow to configure Web Api route to accept named parameter(query string)?
I have a web api with the following method: [HttpGet] [Route("api/documento/doc/list?{cpf}")] public string Listar(string cpf) { return "value"; } I need the above method to be called through the…
-
2
votes2
answers6064
viewsHow to pass parameter on a route?
I have a simple test routine, which is not working in the final part. The idea is to query a Mysql database and compose a page with the result, which works correctly. Clicking on a link from a line…
-
2
votes1
answer35
viewsParameters in the URL using /
I need to have a URL in the following format: nomedosite.com/note/{anything} I need this URL to trigger the controller Note, with the action Index. How should I set my route? I tried to use this:…
-
2
votes1
answer1474
viewsLaravel Notfoundhttpexception
I had a project in my machine where I created the Laravel via $ New application Laravel I copied this project to another machine with the perfect shampooing equal to the desiccation machine, but…
-
2
votes0
answers71
viewsConfigure Route ASP.NET Webforms
Good afternoon, I have an ASP.NET application in Webforms (still) working normally, the client asked to include the date in the route of a new page, I created the route so: routes.MapPageRoute(…
-
2
votes1
answer38
viewsError When Customizing MVC5 Routes
Error occurs in method (Registerroutes) in Routeconfig.Cs on line routes.MapMvcAttributeRoutes(); When running in the browser: * The built-in Constraint resolver of type…
-
2
votes1
answer50
viewsa function to generate a path through a point and segment map. ps: complicated, at least for me
Hello, I’m testing some ideas, doing some programs in python 3, and I need help with something complicated in which I don’t understand anything, nor can I come up with any viable solution. to…
-
1
votes1
answer2561
viewsRedirecting DNS to Amazon machine
Hello, I have an EC2 machine on Amazon, and I hired tbm the Route 53 service, I created a Hosted zone, with this I had 4 dns addresses, I put this in my domain and even so it is appearing that the…
-
1
votes1
answer548
viewsSubdomain does not load styles and scripts
Good morning, 1- I created a new solution in Visual Studio 2012; 2- I created ASP.NET MVC 4 Web Application. I opted for a "BASIC" project, Framework 4.5 and the Razor engine; 3- I created the Home…
-
1
votes0
answers77
viewsRoute conflict in Angularjs and Wordpress
I’m having a problem with routing in Angularjs and Wordpress. Before I didn’t use the html5Mode(true) and my route was /#/dashboad and the route /blog worked normally. But, when I started using…
-
1
votes1
answer597
viewsAngular + Requirejs
Below is the structure of the code to facilitate: main.js require.config({ baseUrl: '/', shim: { angular: { exports: "angular" }, route: { deps: ["angular"] }, app:{ deps:['route'] }, controller:{…
-
1
votes0
answers100
viewsUrl ( ROUTE) with NAMES and not ID
How can I dynamically change a URL in a BD search of Id’s by NAME to become a friendlier URL (SEO). My URL today: http://meusistema.com.br/Achei/26/8717/1/2/3 - being the 26=STATE,…
-
1
votes1
answer170
viewsUrl forwarding
Well, it’s been a few days since I’ve encountered any problems on an assignment. What I need to do is : Check if the url is in the right format, and if it is not, redirect to the correct url. In the…
-
1
votes1
answer1455
viewsBlock routes according to user permission Angularjs
I have a system where I log in a user, in case everything right the server returns me an object and I store this object in sessionStorage. I can recover this object to do some validations, e.g.:…
-
1
votes1
answer680
viewsRedirect Route direct to view
I’ve read in some places that the correct thing is to point the way to a controller and then redirect to a view. I do it even when I won’t pass any variable to that view? In that case, I will have a…
-
1
votes0
answers98
viewsLaravel 5.2 Redirect::back()->with and Redirect::back()->withErrors does not work
I have already developed several applications with Laravel. The problem arose when suddenly in version 5.2 the Redirect::back()->with and Redirect::back()->withErrors command stopped working.…
-
1
votes0
answers41
viewsLumen - Middleware running on all requests
I created a Middleware which is working perfectly, but it is running on routes that I have declared in the route group and is also running on other routes that I have not declared. Example: Route 1:…
-
1
votes1
answer187
viewsConfigure Route MVC page
I have a website and when entering the home page it is redirected to another view. Thus: www.exemplo.com redirects to www.exemplo.com/Home/Hotsite That’s because I have a feature that when entering…
-
1
votes0
answers91
viewsRestore routes after route -F command?
Hello, good night/dawn! I’m researching here about the route-f command, which to me was unknown. This afternoon my curious brother was fiddling with the cmd, trying to understand the commands…
-
1
votes0
answers72
viewsLaravel 5.3 Route does not accept parameters other than "/"
Good morning. I’m new to Standard and installed 5.3 with php 5.6. When I started defining the routes I came across the situation of that method Route::get() in the first argument only accepts "/".…
-
1
votes2
answers1382
viewsLaravel 5.3 with Ajax
Dear friends, I ask your help to help me solve an Ajax problem with Laravel 5.3 I am facing problems with Internal Server Error 500, and looking for information about it, it may be a problem of…
-
1
votes2
answers124
viewsKnow if user has Waze installed
I have an application that performs routes between the current position and a certain point. For this, I call an Activity: final Intent intent = new Intent(android.content.Intent.ACTION_VIEW,…
-
1
votes2
answers1849
viewsSlimframework: Method not allowed. Must be one of: GET
I’m having a hard time solving a mistake that’s been slim framework. I have a contact page that is accessed /p/contact, after accessing and clicking the send button, it tries to send the…
-
1
votes1
answer963
viewsHow to check route parameters in Laravel and accepted only specific parameters?
I would like to know how to create a function that validates the parameter received from a route on Laravel, for example, have a route: Route::get('fotos/{user_id}'); where you can only access users…
-
1
votes0
answers62
viewsServe custom . js file in Express route
I have a specific "home" page for authenticated user that is served by a router however this authentication is made via cookie if there is this cookie "session" (created after user login and set…
-
1
votes0
answers37
viewsProblem with languages in Arabic
I have a language system in Arabic, I’m using their localization system. I have the system working, what happens and that when I return to the.com domain of the error I wanted there to show by…
-
1
votes0
answers21
viewsError using @extends('layouts.app') and Route::Resource - Laravel 5.7 and eloquent PHP
Good afternoon guys I’m new to language and I’m kind of lost, I created in the route/web file the route of type Resource for my controller calling my Function Edit where to load my Edit.php view but…
routeasked 5 years, 9 months ago Claudio Costa Jr 13 -
1
votes0
answers118
viewsReact + React Router + Laravel => error while performing refresh or insert url manually in browser
I’m using React for the front of an application in Windows. In React, through the React-router I am accessing components dynamically through the parameters passed via url by the router link. If you…
-
1
votes0
answers794
viewsHow to send form parameters using Express and Node.js
Hello, I’m trying to post the data of a form using Express, follow the code below index.html <form action="insere" method="post"> <p><h4> Título </h4> <input type="text"…
-
1
votes0
answers21
viewsASP.NET Core API for access to more than one Angular Apication
I have an API that when launched, it goes up at the following address: http://localhost:49013/api/values. I realized this is parameterized in the file launchSettings.json, that is like: {…