Most voted "laravel-routes" questions
For URL mapping questions for Actions and Controllers.
Learn more…130 questions
Sort by count of
-
1
votes1
answer1094
viewsRoute configuration error in Nodejs with Express
I’m having a problem starting Nodejs, similar to this other post at this link, but had no more feedback from those who asked and the solution presented in the reply did not suit me either. The…
-
1
votes2
answers525
viewsPath null parameter
I’m trying to get into a controller, receive a parameter and print it in the View by a ViewData or ViewBag. My Controller: public ActionResult Index(string information) { ViewData["Bag"] =…
-
1
votes1
answer344
viewsDifficulties in Route Creation and Laravel Controller 5.1
I created a CRUD with Modal is working all right but I created request form data display, queries with BD all within Routes, I do not think very cool would like to pass these features to the…
-
1
votes1
answer241
viewsIs there any way to define a specific title on Laravel routes?
In the Laravel 5, I am creating a menu dynamically, making a foreach in the list of registered routes. So I can have a menu displayed each time a new route is created, but I’m only listing the ones…
-
1
votes1
answer993
viewsHow to work with routes in wordpress
It is possible to work with custom routes within wordpress? I’m building a site that consumes an api where the user can perform product searches. I would like to customize the site url to determine…
-
1
votes1
answer435
viewsRoute results in 404 Not Found
I was following the Codeigniter startup tutorial when I came across a problem with routes. the route file is with the following routes: $route['404_override'] = ''; $route['translate_uri_dashes'] =…
-
1
votes1
answer472
viewsAuthentification Laravel
I am studying the authentication part of Laravel and basing myself on the following documentation Laravel I followed every step: I set up the database I set the routes I put the Views When I walk…
-
1
votes1
answer1061
viewsRoute error when accessing the page in Laravel
People after I executed this command in my Standard the situation in some pages got bad, are no longer working, the command is as follows: Composer require mnabialek/Laravel-eloquent-filter Error…
-
1
votes1
answer306
viewsFiles in public folder using Laravel 4.2 are inaccessible
Hello, I have an application where some files are created in the folder public of Laravel 4.2, then send an email to the user with the URL’s to download these files, but there is an error when…
-
1
votes1
answer248
viewsWhere are the log-in routes in the Laravel?
I registered some authenticated routes (I already have the authentication pages created with the make:auth) and they work right, every time I try to access these routes in an anonymous tab it falls…
-
1
votes1
answer158
viewsArea Routes in ASP.NET MVC?
I’m working with areas but it’s not working the route and I created 2 areas, inside a created a folder called Cadastros and inside the other a folder called Tabelas. Cadastrosarearegistration.Cs…
-
1
votes1
answer248
viewsWhere are the log-in routes in the Laravel?
I registered some authenticated routes (I already have the authentication pages created with the make:auth) and they work right, every time I try to access these routes in an anonymous tab it falls…
-
1
votes1
answer20
viewsI need to create a route that changes the project title with the id present in the route parameters. But when testing the route I get error 500
I need to create a route that changes the project title with the id present in the route parameters. But when testing the route I get error 500(Typeerror: Cannot set Property 'title' of Undefined)…
-
1
votes2
answers218
viewsI cannot capture ROUTE without using index in URL
In short, it only works if I put index.php in the URL. I think it’s in . htaccess, but I don’t know where. I wonder which configuration is incorrect or what could I do to find my error. Data:…
-
1
votes0
answers288
viewsUsing multiple html pages with the same Angularjs + ASP.NET MVC controller
Using the routes with Angularjs, When entering the Author.html page with the route /Autor, is listed all authors registered in a table where a link is created for each author’s edition, according to…
-
1
votes1
answer87
viewsHelp with ASP MVC routes (3 routes for the same action)
I have a controller: public class imoveisController : Controller { public ActionResult Index(int idEstado = 0, int idCidade = 0, int[] idRegiao = null) { string IdEstado; string IdCidade; int[]…
-
1
votes1
answer779
viewsAngular 5 problems with routes
Guys I have my normal and simple route app.routing.ts import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { LoginComponent } from…
-
1
votes1
answer531
viewsWorking with app routing at angular
My application starts in the Appcomponent, in the Appcomponent I set the <router-outlet> </router-outlet> Set the following routes: const appRoutes: Routes = [ { path: '', component:…
-
1
votes1
answer65
viewsform does not access the route created in the Laravel
I have a ready form that I am trying to incorporate into a 5.2 Standard System <form name="formEireli" id="formEireli" action="{{ url('script') }}" target="_blank" method="post"> is in the…
-
1
votes2
answers169
viewsCan you pass a specific route determined by an id ? (Angular Routes)
Ex : I want to register(I’m working with Tadata) My route today {path:entity/:identity/registration} Where the identity is replaced dynamically when I click, for example: in the database register…
-
0
votes1
answer1277
viewsCalculate the nearest point and plot route on Google maps
Eai, well, I’ll try to be brief and clear at the same time, I’d like to know how I can calculate which point is closest to my location, I have markers all over the map ja, and I have my location,…
-
0
votes0
answers77
viewsProcedure to return route calculation between coordinates via the Googlemaps API
I need to create all the business rules of a system within the database and allow other applications for the purpose of being only a graphical user interface to freely utilize all the functions…
-
0
votes2
answers1625
viewsHow to know the current route on Laravel 4?
In Laravel 5, we can take the current route (I mean the class instance) using the class Illuminate\Http\Request, through the method route. Thus: public function handle(Request $request) { $rota =…
-
0
votes1
answer107
viewsRails routing error - uninitialized Constant
Guys, I created an application in Rails and managed some models, controllers etc. As follows: rails g scaffold nivelIntermediario/Historia descricao:string My route file looked like this: namespace…
-
0
votes1
answer390
viewsRoutes Laravel / Angular $routeProvider
I have something like this in my app.js: app.config( function( $routeProvider ) { $routeProvider.when('evento/:id/:caminho', { templateUrl: 'views/evento.html', controller:…
-
0
votes1
answer91
viewsRoute order in Laravel 5
I’m starting at the Larable, I have the following routes: Route::get('/', function () { return view('indextemplate'); }); Route::get('/', function () { return view('footer'); }); Route::get('/',…
-
0
votes1
answer91
viewsRoute order in Laravel 5
I’m starting at the Larable, I have the following routes: Route::get('/', function () { return view('indextemplate'); }); Route::get('/', function () { return view('footer'); }); Route::get('/',…
-
0
votes1
answer235
viewsHow to access a project route (URL) written in Laravel from another project (URL) that does not use Laravel?
Let’s say I have myApp1.com and myApp2.com, and that only the second project is written in Laravel. My question is: Taking into account that myApp2.com has login authentication, it would be possible…
-
0
votes1
answer1492
viewsBlocking routes for a particular User type in Laravel 5.3
This is my first post here. I’m starting to use Laravel 5.3 to create a system. In this system I will have two types of users (Admin and Client). I would like to block certain routes for the client.…
-
0
votes1
answer184
viewsWhy does Codeigniter understand a route as a directory and break links?
I set up a CI system that uses template schema, with header, navmenu, template (component) and footer. I use the Foundation for styling. The problem is this: when accessing a simple route, such as…
-
0
votes2
answers614
viewsRequest in the url with Laravel
I’m trying to get started on Laravel, and I’m having trouble with requests, when I make just one request as an example localhost:8000/hoteis everything works it searches the page and works…
-
0
votes1
answer4054
viewsCall View in another ASP.NET MVC Controller
I have 2 Controllers Homecontroller and User controller inside User controller I have a method that validates the user. If it’s valid, I want it redirected to the page Index of Homecontroller But…
-
0
votes0
answers891
viewsRoutecollection.php line 161
I developed an application PHP using Laravel on a computer, when I copied this same project to another computer and run it, the path error occurs below: NotFoundHttpException in…
-
0
votes1
answer1369
viewsCSS does not load according to the route in the Standard
I have a Blade file in which it is my base layout (which will be loaded on all pages). But according to what I set the route, the css of this page does not load. Ex.: if my route is like this:…
-
0
votes2
answers452
viewsHow to make an if/Else within a route?
I have a form that has two types of users: administrators and developers and each one has its post login page, but even logged in as an administrator, I can go to the developer pages. I need to fix…
-
0
votes1
answer241
viewsLoad controller with hyphen or underline in the URL - Codeigniter
I hosted my project done in Codeigniter 3 on a server using Linux and PHP 7 and I cannot load certain links, gives error 404. Example of Controller Name: Relatorio_Detalhado.php Link in the url:…
-
0
votes1
answer56
viewsHow to install only autoload and Laravel routes in a new project?
We are doing a test with a new project for a high traffic site (a few hundred, or thousands, of users per second) and wanted to know if there is any way to install only the route system and autoload…
-
0
votes1
answer118
viewsSilex can’t find the routes
I have a Silex 2.0 application with PHP 7.0 and Apache 2.4 (on port 8080) with the following structure: silex/ | - vendor/ | - web/ | - index.php | - composer.json | - .htaccess Composer.json {…
-
0
votes1
answer89
viewsHow to load multiple routes in Node.js in a . jade
Is there any way to load multiple routes within the same file .jade, for example: I may have a route /menu, another /header, another /clientes, when calling the route /clientes give a…
-
0
votes0
answers260
viewsCreate routes with multiple parameters in Codeigniter
I have a project developed in Codeigniter and I’m setting up some routes to get some nice Urls, but I found a problem. In a given route, I don’t know how many parameters it will come with, you can…
-
0
votes1
answer58
viewsImprove routes
Do people have a better way to do these routes? Or for every action in my Controller I’ll have to create your routing? app.UseMvc(routes => { routes.MapRoute( "Login", "Login", new { controller =…
-
0
votes0
answers45
viewsWeb.Config several domains
I have hosting with several domains, each site has its own route system. In the hosting (httdocs) has my main website where I set the route by web.config, until then everything is working normally.…
-
0
votes1
answer1569
viewsPass value of select to route in Laravel
I don’t know much about web development and I’m a little lost. I need to pass the id of a movie to a route in Laravel and I’m not sure how to get this value. <select class="form-control"…
-
0
votes0
answers166
viewsHow to create a route in Rails that accepts a point url (.) ? type "[email protected]"
Good morning, I have an application where users register their information and the primary key of each user is their email. So in the method show the parameter I receive is the email. However,…
-
0
votes1
answer1284
viewsSending data to Controller via Ajax Laravel
I have a project in which I have to send a patient’s CPF to a method in the controller in order to do a search within this method and already return the value of the search to the view , however I…
-
0
votes0
answers85
viewsI can’t access the route controller on Laravel 5.8
I can’t access the Laravel controller when I use: Route::controller('categorias', 'CategoryController'); He makes the following mistake: Invalidargumentexception Attribute [controller] does not…
-
0
votes1
answer130
viewsHow to Design Wamp for Lamp
I have a Windows finished project (wampserver) using Laravel 5.2 in php 5.5.12 working perfectly. I’d like to know how to copy it to the server that is in Centos 7. Which is PHP 7. If I install…
-
0
votes1
answer543
viewsRoutes calling the same controller action
Hello, I have the following problem: I am creating a film rental system at a college job where the user can rent movies from different rental companies. The first problem I’m having with routes, is…
-
0
votes1
answer380
viewsHow do I hide or clear the url when I get Asp.net mvc?
I wanted to know how to clean or hide data that I pass through a URL to a webapi so that the data n become apparent and do not disturb my routes.. following example:…
-
0
votes2
answers94
viewsConfiguring Angulasjs Routes with ASP.NET MVC
I’m having trouble routing Angularjs with Asp.net mvc. I set up my routing in the app.js and when I click on my links the pages are not being redirected correctly, the only page that appears…