 		end
 	end
 
-	def show(conn, %{"poll_id" => poll_id, "id" => reference_id}, _, _) do
+	def show(conn, %{"poll_id" => poll_id, "id" => reference_id}) do
 		poll = Repo.get(Poll, poll_id)
 		reference = Repo.get(Reference, reference_id)
 		if poll do

		end
	end

	def create(conn, %{"poll_id" => poll_id, "reference" => params}, _, _) do
		poll = Repo.get(Poll, poll_id)
		if poll do
			params = Map.put(params, "poll_id", poll.id)

defmodule Democracy.ReferenceController do
	use Democracy.Web, :controller

	alias Democracy.Reference
	alias Democracy.Poll
