1 class PmdsController < ApplicationController
3 before_filter :login_required, :only => [ :new, :edit, :create, :update, :destroy ]
8 @search = Pmd::Search.new(params[:search])
9 @pmds = Pmd.search(@search).paginate([ '_id' ], :size => 30, :page => params[:page])
11 respond_to do |format|
12 format.html # index.html.erb
13 format.xml { render :xml => @pmds }