Displaying 1 result from an estimated 1 matches for "calls_path".
Did you mean:
  callpath
  
2008 Jul 14
1
will_paginate paginates all instead of subclass
...ction
class CallsController < ApplicationController
  before_filter :login_required, :only =>
[ :new, :create, :show, :index, :list, :all_show, :edit, :update, :delete ]
  def index
     @calls = Call.search(params[:search], params[:page])
  end
my view page for index is
<% form_tag calls_path, :method => ''get'' do %>
    <p>
        <%= text_field_tag :search, params[:search] %>
        <%= submit_tag "Search", :name => nil %>
    </p>
<% end %>
<% for call in @calls %>
    <%= link_to h(call.name), :action =>...