Questions tagged as 'route'

2
answers

Routes Laravel 5.3

Good afternoon people, I noticed that Laravel 5.3 has a new folder "Route", with the routes. By default it uses web.php I would like to know how I can do to create other routes without being inside the web.php, I would like to separate it lik...
asked by 22.09.2016 / 20:33
1
answer

How do I return the 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 these points there are some points of interest. When tracing the route Google returns me the best route and mark these po...
asked by 29.01.2014 / 12:39
1
answer

How can I differentiate authentications in laravel? Example: Administrator and Common User without using multauth

How can I differentiate routes to the same auth? I have a User table and I have registered two types of user: admin and common user, both in the User table, with the same attributes. How can I differentiate the routes that will appear for bot...
asked by 07.12.2016 / 18:42
1
answer

How to implement a Route System in MVC?

I'm creating an MVC framework (more for studies), and I'm trying to implement a route system , but I'm not sure how to execute the routes. So I would like to know if there is any execution flow for an MVC project. Mine looks something like t...
asked by 16.06.2016 / 15:01
2
answers

How to make a dynamic meta description in angularjs?

How to do for description , which is in Array in controller , is rendered to <meta name="description" content="{{metadescription}}"> , which is in index.html, and can appear dynamically in views? I use $ routeParams;...
asked by 04.05.2015 / 05:12
3
answers

Route 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 the case is the client_id, which if "1" is an administrator and if it is any other client. I control this with 2 Middleware locally,...
asked by 27.01.2016 / 15:31
2
answers

C # route 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: routes.MapRoute( name: "SelecionarCi...
asked by 08.11.2017 / 17:50
2
answers

MapMvcAttributeRoutes with PagedList.MVC

I am using routes.MapMvcAttributeRoutes(); to decorate my Actions with Url that I want to appear in the browser, and it has worked very well, however, when using PagedList I have a problem that I can not solve. Below is the code...
asked by 02.05.2014 / 02:28
1
answer

Routes ASP.NET Unconfigured

From trying so hard, I think I've misfigured something important, so I can not make the routes work. In this image it appears that the form is as post sending to the LoginProfessional controller in the Logon action. I'm not using RenderBody t...
asked by 30.04.2014 / 00:12
1
answer

Routes - CodeIgniter

I wanted to know what this $ means in the definition of the routes, for example: route["(.*)-sid-(:num)-(:num)"] = "services/service/$2/$3"; What does $2 and $3 ?     
asked by 09.04.2015 / 16:41