Latest #routerhelpers Threads 
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
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
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
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
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
I have a template like this
<ul>
<li><%= link "Any", to: Routes.page_path(@conn, :index, Map.delete(@conn.params, :auth...
New
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
needed to add an extra route called refresh which I added to my router under the sites resource`
resources "/sites", SiteController do
...
New
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
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
This Month's Trending
This Year's Trending
Last Three Year's Trending
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
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
Hello!.
I am trying to add Nested Resources in router.ex like this..
resources "/phonebooks", PhonebookController do
resources "/peop...
New
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
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
Having a View, with a function using the Routes.*_url helper, everything works fine, until I try to test this function directly.
defmodu...
New
My Endpoint is configured like this:
config :my_web, MyWeb.Endpoint,
url: [host: "mydomain.com", scheme: "https"],
http: [port: ...
New
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
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
I observe some strange behavior of form_for helper in my template. Could somebody help me?
#error:
== Compilation error in file lib/webt...
New
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
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
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
Hello everyone!
I was wondering if it’s possible to call/ build routes without using the named path helpers, something like:
Router.Hel...
New
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
In Rails, I can write:
resources :users do
member do
get :friends
end
collection do
post :invite
end
end...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








