plz give me the solution to solve the below error
ActionController::RoutingError
ActionController::RoutingError in Issues#new
Showing app/views/issues/_issue.rhtml where line #1 raised:
issue_url failed to generate from {:controller=>“issues”,
:action=>“show”, :id=>nil}, expected: {:controller=>“issues”,
:action=>“show”}, diff: {:id=>nil}
Extracted source (around line #1):
1: <% form_for :issue, :url=>issue_path(@issue), :html => {:class =>
‘horizontal’, :multipart => true, :method => ( @issue.new_record? ?
:post : :put )} do |form| %>
2:
3: <%= error_messages_for ‘issue’ %>
4:
Trace of template inclusion: /app/views/issues/new.rhtml
RAILS_ROOT: ./script/…/config/…