Latest #routerhelpers Threads Top

mkrnic
When defining routes I’d like the option to use “smart” route helpers, as in, they can infer the path param value. Let’s say this is the...
New
jarrodm
Hi Phoenix ppl, I have a separate notifications service, and for some time now I’ve simply been pushing all the arguments it needs over ...
New
aj-foster
Question Given a route with a known controller action (:library_action) and a known helper name (as: :my_lib), how can I reliably generat...
New
BartOtten
This lib is now published and has a new topic. Once this topic was about PhxAltRoutes. A lib pioneering localized routes for Phoenix. I...
New
ericlathrop
My tests started randomly failing in GitLab one day. I say randomly because re-running the tests for previously passing code, now has the...
New
aidalgol
I have a template like this <ul> <li><%= link "Any", to: Routes.page_path(@conn, :index, Map.delete(@conn.params, :auth...
New
cduruk
Hi folks! I have a routing question. I have a model that has two field, one UUID field as a primary field and a title. I have those two ...
New
simonsmith
needed to add an extra route called refresh which I added to my router under the sites resource` resources "/sites", SiteController do ...
New
leaf
I have two routers in my app. I am forwarding api calls which start with /admin_api/v1 to a child router from the main router. ...
New
engineeringdept
Is there a way of generating a path from the current controller, an action and any route parameters, without using a named route helper? ...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

Exadra37
This is a copy/paste of my question in StackOverflow, but once we have an amazing community, I thought to also put it here :slight_smile...
New

Trending Over Three Years Top

drapermd
Previously in a non-LV iteration, I would redirect the conn in a plug, populating the conn’s assigns with database objects (if found), ot...
New
wlminimal
Hello!. I am trying to add Nested Resources in router.ex like this.. resources "/phonebooks", PhonebookController do resources "/peop...
New
Sanjibukai
Hi everybody, I just saw in the router doc page the following: Routes can also match glob-like patterns, routing any path with a commo...
New
aj-foster
Question Given a route with a known controller action (:library_action) and a known helper name (as: :my_lib), how can I reliably generat...
New
optikfluffel
Having a View, with a function using the Routes.*_url helper, everything works fine, until I try to test this function directly. defmodu...
New
chanon
My Endpoint is configured like this: config :my_web, MyWeb.Endpoint, url: [host: "mydomain.com", scheme: "https"], http: [port: ...
New
BartOtten
This lib is now published and has a new topic. Once this topic was about PhxAltRoutes. A lib pioneering localized routes for Phoenix. I...
New
mendomedia
I’m working though the rumbl example in the Programming Phoenix 1.4 book. I added the user and credential code to an example new app and ...
New
lyo5ha
I observe some strange behavior of form_for helper in my template. Could somebody help me? #error: == Compilation error in file lib/webt...
New
hauleth
I am building application where I have separate routers for each part of the API (REST, UI, and GraphQL): defmodule MyApp.Router do us...
New
MjDekute
Hi Everyone, I need help. i have a route “/users” how can i redirect it to “/users/”? because in router it is consider the same. it ...
New
laurenfackler
To quickly test changes to email template copy and styling, I created a couple routes that are only accessible in the dev environment: i...
New
thiagomajesk
Hello everyone! I was wondering if it’s possible to call/ build routes without using the named path helpers, something like: Router.Hel...
New
Strofcon
So I’m working through some tests from a generated chunk of Phoenix bits, and oddly enough the route helper functions are not behaving co...
New
augnustin
In Rails, I can write: resources :users do member do get :friends end collection do post :invite end end...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement