class DownloadsController < ApplicationController
before_filter :authenticate_user!
def index
@downloads = Download.paginate :page => params[:page], :per_page => 30
end