Remove unused variable

This commit is contained in:
Mikko Ahlroth 2015-08-05 23:52:06 +03:00
parent 08143bacdb
commit 38c46b232d

View file

@ -9,7 +9,7 @@ defmodule MebeWeb.LayoutView do
Otherwise will render default title. Otherwise will render default title.
""" """
def title(conn) do def title(conn) do
prefix = cond do cond do
conn.assigns[:post] -> conn.assigns[:post] ->
conn.assigns[:post].title conn.assigns[:post].title