Questions tagged as 'route'

1
answer

Angular + RequireJS

Below is the code structure to facilitate: main.js require.config({ baseUrl: '/', shim: { angular: { exports: "angular" }, route: { deps: ["angular"] }, app:{...
asked by 14.01.2015 / 21:47
0
answers

Problem with languages in laravel

I have a laravel language system, I'm using their localization system. I have the system working, what happens and when I go back to the domain.com of the error I wanted it to be shown by default a language to define by me is possible? Route...
asked by 26.10.2017 / 01:50
0
answers

MethodNotAllowedHttpException in RouteCollection.php - Laravel 5.4

I got this error when putting a project on the server and trying to insert a product into the database. Error    Whoops, looks like something went wrong. (1/1)   MethodNotAllowedHttpException in RouteCollection.php (line 251) Web.php  ...
asked by 11.08.2017 / 06:04
0
answers

Serve custom .js file on Express route

I have a home page for authenticated user that is served by router however this authentication is done via cookie if there is this cookie of "session" (created after user login and defined his path to root) any request other...
asked by 18.07.2017 / 03:26
1
answer

Laravel NotFoundHttpException

I had a project on my machine where I created the laravel via    $ laravel new application I copied this project to another machine with the perfect xamp like the one of the tool of development, but when I go to the route    Route :: g...
asked by 28.06.2017 / 19:48
0
answers

Restore routes after the route -F command? [closed]

Hello, good night / dawn! I'm researching here on the route -f command, which for me was unknown. This afternoon my curious brother was moving the cmd, trying to understand the "route" commands, but he ended up unconfiguring something and we...
asked by 19.12.2016 / 04:27
1
answer

Configure Route page MVC

I have a website and that upon entering the homepage it is redirected to another view . So:    www.example.com redirects to www.example.com/Home/Hotsite This is because I have a feature that when I enter the view Home/Ind...
asked by 12.09.2016 / 22:58
0
answers

Conflict of routes in AngularJS and Wordpress

I'm having a problem with routing in AngularJS and Wordpress. Before I did not use html5Mode(true) and my route was /#/dashboad and the /blog route worked normally. But when I started using html5Mode(true) and the route sta...
asked by 06.04.2016 / 17:17
0
answers

Url (ROTA) with NOMES and not ID

How can I dynamically change a URL in a BD search of the Id's by NAME to become a more friendly URL (SEO). My URL today: link - being 26 = STATUS, 8717 = CITY , 1 = NEIGHBORHOOD, 2 = CATEGORY, 3 = BUSIN...
asked by 18.02.2015 / 15:04
2
answers

How to create routes in App using Ionic and Angulas.js?

EDITED I was able to create routes with an example of the site itself. But I noticed that the controllers are in the same main file app.js and the views are in the index.html file. I would like to know if you can separate...
asked by 23.06.2015 / 18:18