   end
 
 
+  # to clear an entire flag
+  #
   delete "/flags/:name" do
     Utils.clear_flag(name)
     redirect_to conn, "/flags"
   end
 
+
+  # to toggle the default state of a flag
+  #
   patch "/flags/:name/boolean" do
     enabled = Utils.parse_bool(conn.params["enabled"])
     flag_name = String.to_atom(name)

  end


  get "/flags/:name" do
    flag = get_flag(name)
    body = Templates.details(flag: flag)

  end


  # to add a new actor to a flag
  #
  post "/flags/:name/actors" do
    flag_name = String.to_atom(name)
    actor_id = conn.params["actor_id"]
