Skip to content

Commit

Permalink
mix format
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrocp committed Sep 20, 2023
1 parent ee9dc0d commit eac53e4
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions lib/beacon/live_admin/page_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@ defmodule Beacon.LiveAdmin.PageLive do

sites = Beacon.LiveAdmin.Cluster.running_sites()

%{"pages" => pages} = session
current_url = Map.get(session, "beacon_live_admin_page_url") || raise """
Failed to resolve Beacon.LiveAdmin page URL
%{"pages" => pages} = session

You must add Beacon.LiveAdmin.Plug to the :browser pipeline that beacon_live_admin is piped through.
"""
current_url =
Map.get(session, "beacon_live_admin_page_url") ||
raise """
failed to resolve Beacon.LiveAdmin page URL
You must add Beacon.LiveAdmin.Plug to the :browser pipeline that beacon_live_admin is piped through.
"""

page = lookup_page!(socket, current_url)

Expand Down

0 comments on commit eac53e4

Please sign in to comment.