Questions tagged [custom-routes]
198 questions
0
votes
1 answer
How can i direct to another page in laravel (AdminLTE Template)?
i already installed template AdminLTE in my laravel app.
but i not totally understand how to direct my slidebar menu to direct page.
ex:
Calculator

Yosua Michael
- 397
- 1
- 7
- 24
0
votes
1 answer
Reuse a route path for a custom page
I have a controller named "materiels"
I wanted a custom url for all content from this controller, so I have write this in routes. rb
resources :materiels, path: 'materiel-de-mangaka'
Until now, all is fine. I create content and all the content have…

Jean-Baptiste
- 29
- 6
0
votes
3 answers
ASP.NET MVC Routes: How to name an action something completely different than in URL
This is a continuation of a couple of previous questions I've had. I have a controller called UserController that I'd like to handle actions on two types of objects: User and UserProfile. Among other actions, I'd like to define an Edit action for…

Matt
- 23,363
- 39
- 111
- 152
0
votes
1 answer
How to use custom routes in CakePHP?
I want to implement custom routes in CakePHP. I am following the docs
http://book.cakephp.org/2.0/en/development/routing.html#custom-route-classes
My custom route in app/Routing/Route

Þaw
- 2,047
- 4
- 22
- 39
0
votes
2 answers
how construct route pattern for an unknown number of tags - Laravel & Conner/Taggable
I have a blog and a quotationfamous sayings repository on one site.
The quotations are tagged and the entries are tagged too.
I use this rtconner/laravel-tagging package.
Now, what I want to do is to display ALL Quotation models which share the…

Peter
- 2,634
- 7
- 32
- 46
0
votes
2 answers
What does these mean in angularjs ui-router : ' ', '/' while setting up routes like below
I have routes setup as shown below. could someone please help understand what does '' & '/' mean when it comes to routing..
Route configuration below;
$urlRouterProvider.when('', function ($state) {
…

blogs4t
- 2,329
- 5
- 20
- 33
0
votes
1 answer
Codeigniter 3.1.0 routing issue
I managed to run default controller from sub directory by adding a MY_Router file in application/core, everything works fine but this is what I am facing now.I am unable to route it if url hits /admin or /student or /teacher which is eventually a…

MysticalSam
- 51
- 1
- 10
0
votes
1 answer
generated path does not match custom route?
(Rails 4.2)
I have a miss-match of routes that's in the routes.rb file vs the generated from my page. What is it I am doing wrong?
This is the raked route I want to access :
see_hint_deck_card_tracker GET …

Michael
- 119
- 1
- 13
0
votes
1 answer
Load routes dynamically in express js
I am building a blog like app, and posts can be created in the admin dashboard and the public user can visit a published post via the category and permalink.
I have having issues thinking about how to register the routes in my express app.
The…

hisabimbola
- 196
- 3
- 14
0
votes
1 answer
How do I set up a named route in rails 3?
This is a month long thing I've been putting off, and I can't for the life of me figure this bugger out.
I'm tracking to access a file in website/admin/organizations/org_deals
My routes look like this :
map.namespace :admin do |admin|
…

Trip
- 26,756
- 46
- 158
- 277
0
votes
1 answer
Map one controller action on another action rails
I have a controller named carts_controller and in my routes I am using restful routes i.e., resources :carts.
I know resources create default actions like create, index etc., but if I don't want to user create and create a method add_to_cart and in…

rubhan
- 34
- 6
0
votes
1 answer
Rails 4.2 routing to ignore part of a URL
My first SO question... Please be gentle :)
I have a specific routing requirement for a Rails 4.2 application but I'm struggling to accomplish it. My client offers it's members a website to sell the company's products and earn a commission on…

hephalump
- 5,860
- 1
- 22
- 23
0
votes
2 answers
Custom Rails route after object creation
Update: Instead of
@company = Company.find(params[:company_id] in the Reimbursements New Action
I used @company = Company.find_by_name(params[:company_id]
This replaced the id in the URL with the name but still requires /reimbursements/new at the…

szier
- 1,427
- 3
- 19
- 32
0
votes
1 answer
ASP.MVC custom routing from DB
I have an Asp.Net MVC site with a MS SQL database. This site has an administration panel where, apart from other things, the administrator can change the menu of the site.
What we want to do is allow the owner of the site to change dynamically not…

John Mathison
- 904
- 1
- 11
- 36
0
votes
0 answers
Laravel 5 Custom Route From Search Controller
I am very new to Laravel and did watch the free videos on Laracast to try and get as far as I could. I have a simple search input that takes in a zip code(ex:92804). It searches the database and finds the zip code, looks for a "provider" in the row…

bootstrap714
- 152
- 1
- 3
- 10