title: rails: redirect_to rendering but not reloading new page
body: <p>I would like my application to show a list of all associated objects when one is updated, so I would like to load the index action after an update is completed. </p>
  
  <p>I have tried formatting the block, removing the format, render, and redirect_to. All of them just remain on the edit page</p>
  
  <p>Update action:</p>
  
  <pre><code>  def update
      respond_to do |format|
        if @business_category.update_attributes(business_category_params)
          format.html {redirect_to admin_business_categories_path}
          return
        end
      end
    end
  </code></pre>
  
  <p>edit view:</p>
  
  <pre><code>&lt;div class="container"&gt;
    &lt;div class="row"&gt;
      &lt;div class="col-xs-12"&gt;
        &lt;%= link_to 'Back to categories', admin_business_categories_path %&gt;
      &lt;/div&gt;&lt;!-- .col --&gt;
      &lt;%= simple_form_for(@business_category, url: admin_business_category_path(@business_category), remote: true, html: { class: '' }) do |f| %&gt;
        &lt;%= render 'form', f: f %&gt;
      &lt;% end %&gt;
    &lt;/div&gt;&lt;!-- .row --&gt;
  &lt;/div&gt;&lt;!-- .container --&gt;
  </code></pre>
  
  <p>_form partial:</p>
  
  <pre><code>&lt;div class="col-xs-12 col-sm-10 col-md-10"&gt;
    &lt;%= f.input :name, label: 'Category Name' %&gt;
  &lt;/div&gt;
  
  &lt;div class="col-xs-12 col-sm-2 col-md-2"&gt;
    &lt;div class="btn-group-vertical" role="group" aria-label="..."&gt;
      &lt;button id="businessCategoryCancelButton" class="btn btn-warning"&gt;CANCEL&lt;/button&gt;
      &lt;%= f.submit 'SAVE', class: 'btn btn-success' %&gt;
      &lt;br&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>at the redirect_to a message appears in the console: </p>
  
  <pre><code>No template found for Admin::BusinessCategoriesController#update, rendering head :no_content
  Completed 204 No Content in 1505ms (ActiveRecord: 1.0ms)
  </code></pre>
  
  <p>I don't know why it is looking for the update template or why it is not redirecting to the index action</p>
  
  <p>I am trying to understand how format works and if/why it would be conflicting with the redirect. Any advice would be helpful</p>