Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plug :put_layout_formats, ["html", "rss"]
- plug :put_layout, ...
- render(conn, “index.html”, layout: {MyApp.LayoutView, “admin.html”})
- conn
- |> put_layout({AdminView, "admin.html"})
- |> render :index
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement