From fabc15e061ed34f0da6ba48802e391c4bb2775bd Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Sat, 1 May 2010 17:32:55 +0200 Subject: [PATCH] fix #987 where feeds_path returned the mobile url and not the non-mobile one. --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 7bc7b533..4035cbf0 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -58,8 +58,8 @@ ActionController::Routing::Routes.draw do |map| map.root :controller => 'todos' # Make OpenID happy because it needs #root_url defined map.resources :notes - map.feeds 'feeds', :controller => 'feedlist', :action => 'index' map.feeds 'feeds.m', :controller => 'feedlist', :action => 'index', :format => 'm' + map.feeds 'feeds', :controller => 'feedlist', :action => 'index' if Rails.env == 'test' map.connect '/selenium_helper/login', :controller => 'selenium_helper', :action => 'login'