   plug :assign_languages
   plug :object_tree
 
-  def dashboard(conn, params) do
+  def dashboard(conn, _params) do
     render(conn, "dashboard.html")
   end
 


    model = models[resource]

    contents = case model do
      nil ->
        render(conn, "dashboard.html")
      model ->
        sort = String.to_atom(params["sort"] || "id")

        direction = params["direction"] || "asc"
        
        entries = case conn.assigns[:entries] do
          nil ->
            query = case direction do

        })

        case Repo.insert(changeset) do
          {:ok, entry} ->
            current = [entry]
        end
      end

