strange routing issue : working on localhost not working on remote server ..

it's the first time I see it ...

I have the following in my routes.rb

   namespace :users do      resource :dashboard, :only => [:show ]    end

and users_dashboard_path => "/users/dashboard" where I only print the logged in current_user name ( using Devise gem auth..)

on localhost after sign in , I can go to http://localhost:3000/users/dashboard ...

but once deployed , after sign in, http://www.yoodish.com/users/dashboard raises : The page you were looking for doesn't exist. You may have mistyped the address or the page may have moved.

where could be the difference ? I am tired tonight !

thanks for your feedback

What does production.log show when that happens?

Colin

Got it thanks ! Started GET "/users/dashboard" for 2.13.101.56 at 2011-11-15 21:40:36 +0000 ActionController::RoutingError (uninitialized constant Users::DashboardsController):

I had to define dashboard inside Users as per the routes .... (namespace :users !)

Got it thanks ! Started GET "/users/dashboard" for 2.13.101.56 at 2011-11-15 21:40:36 +0000 ActionController::RoutingError (uninitialized constant Users::DashboardsController):

I had to define dashboard inside Users as per the routes .... (namespace :users !)

But it was ok in development mode?

Colin