This Week's Trending
This Month's Trending
This Year's Trending
Hi,
My use case: I allow CNAMEs in my app, allowing users to bring their own hostname for public pages.
My idea then was to use host in...
New
As someone who had a lot of initial interest in Hologram, I’m only just diving into it now. It’s feeling magical being able to write Eli...
New
I was reading the Localized routes and path prefixes section of the Phoenix.VerifiedRoutes and I found this line:
In this case, you wou...
New
Hello,
I’m currently in the process of rewriting parts of a Phoenix application. The frontend is primarily a React single-page app, but ...
New
Last Three Year's Trending
Hi everyone! I’m trying to find a way to add a default value on a route param in Phoenix. I’ve searched in the forum but couldn’t find an...
New
I need to use the forward macro in my application’s router only if a configuration flag is true, otherwise I don’t need to forward. I’ve ...
New
I’m developing a Hex package that provides a set of LiveView routes mounted from the router via live '/path', LiveViewName, session: [:bl...
New
I’m trying to find out a good way to manage config in production, but the default Dockerfile from mix phx.gen.release --docker` compiles ...
New
I want to redirect the Phoenix router to a specific page so “/” renders the first navigation item.
Currently I do this using a root page...
New
Hello everyone. I’m currently following an Elixir course, and I’ve run into an error stating that the Routes module is undefined. The cou...
New
I have routes that look like this:
get("/post/:slug_and_id", PostController, :show)
get("/post/:slug_and_id/comment/:comment_id"...
New
Hi I am struggling to achieve the flow that I would like. I have a form that a user submits and if successful I redirect the user to an e...
New
I’m following the directions for the Getting Started project at hexdocs.pm. I’ve gotten to the guide on Contexts here: https://hexdocs.pm...
New
I have an umbrella project with N apps, all with the same web structure, but different db and possibly language.
Since the templates are...
New
My Phoenix app has a variety of scopes distinguished by host as follows:
scope "/", LockerWeb, host: "host.example.com" do
pipe_th...
New
Hi all,
I am working on an application with routers separated by their domain. The application has MyApp.Expenses.Router, MyApp.Invento...
New
I’m building an app that would handle request for bare domain as well as for subdomains. Each subdomain is client space.
I have very dif...
New
Hello, I am working on an app and I want to separate admin and user routes to different subdomains, I found an article how-to-serve-multi...
New
I am working on converting an existing application to a multi-tenant one with subdomains enforcing the organization. Tenants have an “ad...
New
Trending Over Three Years
Hi,
What would be a good way to pass some information from the conn to the LiveView socket ?
Let’s assume the following example
router...
New
I am trying to use the Router file to redirect all users to the login page if they are not logged in and I figured I could do that by usi...
New
A lot of information can be gathered from the Controller using little-used functions like:
Phoenix.Controller.current_path(conn),
Phoen...
New
So I have the umbrella project that consists of user_interface and admin applications. I want to display some links from user_interface b...
New
Hello :wave:
In the router.ex file, I have the following route:
resources "/users", UserController
In a Controller, I can use the rout...
New
I try to reproduce the "Context" example in the phoenix guide. But instead of defining authenticate_user in the router.ex file, I did it ...
New
I’m working on building a GraphQL API using Phoenix. For now, we have the Graphiql browser IDE set up on its own dedicated route so othe...
New
Hey I have this in my router
resources("/recordings", RecordingController)
and i have some auto generated code and the index and show i...
New
Hello!
When defining multiple routes on the same controller and same action with different named parameters like:
get "/products/:foo",...
New
Hiya! Super new to the Elixir/Phoenix lang (enjoying it so far!). This might be a really silly question, but have had a hard time finding...
New
Hi,
I was thinking about simple user settings for Permalinks.
Something like Wordpress has: https://codex.wordpress.org/Using_Permalink...
New
Hello, I have a question regarding how phoenix_swagger mentions in their docs that one can have multiple routers as in the following code...
New
In the docs for Phoenix Routing we can see several examples such as below, where a parameter is a boolean.
Routes.user_path(Endpoint, :s...
New
Is there any way to split Router code into few files or at least merge N routers into one?
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
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:
Sub Categories:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #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
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







