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

        })

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



    model = models[resource]

    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
