title: Rails Routing Redirects to wrong path
body: <p>I have a view called, "clients" which shows a list of calls from the Call database.  That works fine.  However when I added a new button with a form behind it the call will be created but it redirects to calls_path instead of clients_path.</p>
  
  <p>I have no idea why it's doing this, my only theory is that I'm working with actions that touch data outside of the clients_controller and somehow Rails is defaulting to the calls_path.  The same thing happens on my delete action.  Can someone help me make sense of this?</p>
  
  <pre><code>calls_controller
  def new
      @call = Call.new :call_status =&gt; "open"
  
      respond_with @call
    end
  
    def create
      @call = Call.new(params[:call])
  
       if @call.save
          redirect_to clients_path, notice: "Call was successfully created."
        else
          render :new
       end
    end 
  
    def destroy
        @call = Call.find(params[:id])
        @call.destroy
  
        respond_to do |format|
          format.html { redirect_to clients_index_path }
          format.json { head :no_content }
        end
      end
  
  _form.html.erb
  &lt;%= form_for(@call) do |f| %&gt;
  
    &lt;%= f.label :caller_name %&gt;
    &lt;%= f.text_field :caller_name %&gt;
    &lt;%= f.label :caller_phone %&gt;
    &lt;%= f.text_field :caller_phone, :placeholder =&gt; 'xxx-xxx-xxxx' %&gt;
    &lt;%= f.label :caller_email %&gt;
    &lt;%= f.text_field :caller_email %&gt;
  
    &lt;%= f.button :submit %&gt;
  
  &lt;% end %&gt;
  
  routes.rb
  devise_for :users
    match 'mdt' =&gt; 'mdt#index'
    get "home/index"
    resources :medics
    resources :clients
    resources :users
    resources :units
    resources :mdt do
      collection do
        put "in_service"
        put "en_route"
        put "to_hospital"
        put "at_hospital"
        put "on_scene" 
        put "out_of_service" 
        put "at_station"
        put "staging"
        put "at_post"
        put "man_down"
    end
    end
    resources :calls do
      member do
        post 'close'
      end
    end
    root :to =&gt; 'home#index'
    devise_scope :user do
      get "/login" =&gt; "devise/sessions#new"
      delete "/logout" =&gt; "devise/sessions#destroy"
    end
  </code></pre>