ActionController::RoutingError

issue_url failed to generate from {:controller=>"issues",
:action=>"show", :id=>nil}, expected: {:controller=>"issues",
:action=>"show"}, diff: {:id=>nil}

Is at @issue nil? You could test the url generation with
issue_path(1), for example, where "1" is a valid id for an issue
object.

hth