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 !)



On Nov 15, 9:25 pm, Colin Law <[email protected]> wrote:
> On 15 November 2011 19:01, Erwin <[email protected]> wrote:
>
>
>
>
>
>
>
>
>
> > 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.
>
> What does production.log show when that happens?
>
> Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to