OSDN Git Service

ignore vendor/bundle/
[tdcgexplorer/nimono.git] / app / controllers / pmds_controller.rb
1 class PmdsController < ApplicationController
2   layout 'arcs'
3   before_filter :login_required, :only => [ :new, :edit, :create, :update, :destroy ]
4
5   # GET /pmds
6   # GET /pmds.xml
7   def index
8     @search = Pmd::Search.new(params[:search])
9     @pmds = Pmd.search(@search).paginate([ '_id' ], :size => 30, :page => params[:page])
10
11     respond_to do |format|
12       format.html # index.html.erb
13       format.xml  { render :xml => @pmds }
14     end
15   end
16 end