Happy Birthday To Me

thinking through made-up milestones

selfish

Hmm

defmodule HeedsWeb.PageController do
  use HeedsWeb, :controller

  alias Heeds.Blog

  def index(conn, _params) do
    render(conn, :index, posts: Blog.all_posts())
  end

  def show(conn, %{"id" => id}) do
    render(conn, :show, post: Blog.get_post_by_id!(id))
  end
end