myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3445] trunk/app/controllers/services_controller.


From: noreply
Subject: [myexperiment-hackers] [3445] trunk/app/controllers/services_controller.rb: removed unused function
Date: Sun, 24 Feb 2013 09:09:32 +0000 (UTC)

Revision
3445
Author
dgc
Date
2013-02-24 09:09:31 +0000 (Sun, 24 Feb 2013)

Log Message

removed unused function

Modified Paths

Diff

Modified: trunk/app/controllers/services_controller.rb (3444 => 3445)


--- trunk/app/controllers/services_controller.rb	2013-02-22 21:44:57 UTC (rev 3444)
+++ trunk/app/controllers/services_controller.rb	2013-02-24 09:09:31 UTC (rev 3445)
@@ -8,7 +8,6 @@
   include ApplicationHelper
 
   before_filter :find_service,  : [:show]
-  before_filter :find_services, : [:all]
   
   # GET /algorithms;search
   def search
@@ -67,13 +66,6 @@
   
   protected
   
-  def find_services
-    @contributables = Service.find(:all, 
-                       :order => "created_at DESC",
-                       :page => { :size => 20, 
-                       :current => params[:page] })
-  end
-  
   def find_service
     begin
       service = Service.find(params[:id])

reply via email to

[Prev in Thread] Current Thread [Next in Thread]