Questions tagged as 'rotas'

2
answers

Configuring AnglesJS Routes with ASP.NET MVC

I'm having trouble performing angular routing with asp.net mvc. I configured my routing in the app.js and when I click on my links the pages are not being redirected correctly, only page that appears correctly is the Home.html, but after I cl...
asked by 22.11.2017 / 15:27
1
answer

Routes calling the same action as the controller

Hello, I have the following problem: I'm creating a movie rental system in a college job, where the user can rent movies from different rental companies. The first problem I'm having with routes is that a user can add movies to favorites,...
asked by 26.10.2017 / 13:54
1
answer

How to load multiple routes in node.js in a .jade

Is there any way to load multiple routes within a same .jade file, for example: I can have a /menu route, another /header , another /clientes , when calling the /clientes route I give res.render('clientes') and...
asked by 26.09.2017 / 12:55
0
answers

How do I create a route in Rails that accepts a dotted (.) url? type "[email protected]"

Good morning, I have an application where users register their information and each user's primary key is their email. So in the show method the parameter I get is email. However, the default routes do not accept what comes after the poi...
asked by 06.08.2017 / 14:52
1
answer

CSS does not load according to route in laravel

I have a blade file in which it is my base layout (which will be loaded on all pages). But I agree that I put the route, the css of this page does not load. Ex.: If my route is like this: Route::get('/novo', 'UserController@novo'); The c...
asked by 19.04.2017 / 15:12
2
answers

How to do an if / else within a route?

I have a form that has two types of users: administrators and developers and each has its post login page, but even logged in as administrator, I can go to the developers pages. I need to fix this!     
asked by 19.04.2017 / 19:12
1
answer

Problems with angular and http-server routes

I put the $ locationProvider.html5Mode (true); on my routes to take that #! URL. I'm not sure if this is a good way to do this, but I do not know how to do this. This happened to happen when I started using $ locationProvider.html5Mode. As a...
asked by 07.03.2017 / 18:14
1
answer

Why does CodeIgniter understand a route as a directory and break the links?

I have created a system in CI that uses the template schema, with header, navmenu, template (component) and footer. For stylization I use Foundation. The problem is this: when accessing a simple route, such as home, I have no errors, but w...
asked by 18.06.2016 / 04:02
0
answers

Procedure to return the route calculation between coordinates through 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 just a graphical user interface to freely use all the functions available in the database through stored procedures....
asked by 05.04.2016 / 14:35
1
answer

Routing Error in Rails - uninitialized constant

Well, I created an application in rails and generated some models, controllers, etc. As follows: rails g scaffold nivelIntermediario/Historia descricao:string My route file looks like this: namespace :nivel_intermediario do resources :...
asked by 19.09.2015 / 02:28