     at: "/assets",
     from: :fun_with_flags_ui
 
-  plug :fetch_session
-  plug Plug.CSRFProtection
+  plug :protect_from_forgery
 
   plug Plug.Parsers, parsers: [:urlencoded]
   plug Plug.MethodOverride

    csrf_token = Plug.CSRFProtection.get_csrf_token()
    Plug.Conn.assign(conn, :csrf_token, csrf_token)
  end
end


  See the [Readme](/fun_with_flags_ui/readme.html#how-to-run) for more detailed instructions.
  """
  require Logger
  use Plug.Router
  alias FunWithFlags.UI.{Templates, Utils}
  alias FunWithFlags.UI.SimpleActor
