title: Template is missing when using redirect_to?
body: <p>In my Rails 3 app, I have a Results controller. When im on the show.html.erb page using the show action in the controller, I have a link to a filter action. When the filter action is done, i want it to redirect back to the show.html.erb, but for some reason it keeps saying <code>Template is missing Missing template results/filter</code> . Im using ajax, so there is a fitler.js.rjs file, but i cant figure this out. If i remove the filter.js.rjs file, it gives me <code>Unknown action The action 'filter' could not be found for ResultsController</code> </p>
  
  <p>Heres my code for the results action. Any help is appreciated.</p>
  
  <pre><code>def filter
              @dispatches = Dispatch.find_by_message_ids(params[:message_ids]) unless params[:message_ids].blank?
  
              unless @dispatches.blank? || @input_messages.blank?
              @output_messages = OutputMessage.find_by_dispatch_ids(
                                                @dispatches.collect{|d| d.id }.uniq
                                                )
              end
  
              respond_to do |format|
                    format.html { redirect_to show_path }
                    format.js
              end
      end
  </code></pre>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Here's the code on show.html.erb that calls the filter action</p>
  
  <pre><code>&lt;%= form_tag(:controller =&gt; "results", :action =&gt; "filter", :remote =&gt; true) do %&gt;
  </code></pre>