https://svn.lrde.epita.fr/svn/ranch/trunk
Index: ChangeLog
from Nicolas Despr�s <nicolas.despres(a)gmail.com>
Add the default index request.
* web/ranch/app/controllers/benches_controller.rb: Add the default
index request which do the same job as the list one.
benches_controller.rb | 5 +++++
1 files changed, 5 insertions(+)
Index: web/ranch/app/controllers/benches_controller.rb
--- web/ranch/app/controllers/benches_controller.rb (revision 20)
+++ web/ranch/app/controllers/benches_controller.rb (working copy)
@@ -2,6 +2,11 @@
layout 'ranch'
+ def index
+ list
+ render :action => 'list'
+ end
+
def list
@project = Project.find_by_id(@params[:project_id])
@benches = Bench.find_by_sql "SELECT name " +