How to serve different html for different controller actions/endpoints?

Phoenix.Controller.action_name(conn) and Phoenix.Controller.controller_module(conn) besides a few more functions in that module.

2 Likes