OSDN Git Service

remove counter api
[pettanr/pettanr.git] / app / controllers / application_controller.rb
index c6c83a9..dd35650 100644 (file)
@@ -396,14 +396,6 @@ class ApplicationController < ActionController::Base
     end
   end
   
-  def list_count
-    set_list
-    j = {:count => @list.count()}
-    respond_to do |format|
-      format.json { render json: j.to_json }
-    end
-  end
-  
   def format_filer format
     format.html {
       @paginate = @@model.list_paginate(@page, @page_size)