On Thursday, September 20, 2012 11:13:54 AM UTC+1, DDale wrote:
>
>
>   # You can have the root of your site routed with map.root -- just 
> remember to delete public/index.html.
>   map.root :controller => "users"
>

I wonder if doing map.root and specifying only a controller (but not an 
action) does weird stuff. I'd try either changing this to add the 
appropriate action or move your login/logout routes higher up

Fred


>   # See how all your routes lay out with "rake routes"
>
>   # Install the default routes as the lowest priority.
>   map.connect ':controller/:action/:id'
>   map.connect ':controller/:action/:id.:format'
>   map.login '/login', :controller => 'sessions', :action => 'new'
>   map.logout '/logout', :controller => 'sessions', :action => 'destroy'
> end
>
>
> Previous Versions: 
> Rails version 2.2.3
> Ruby version 1.8.6
>
> New Versions:
> Rails version  2.3.14
> Ruby version 1.8.7
>
> As Is ai Im not a day to day RoR programmer so any help or advice would be 
> gratefully accepted.
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/vF73C4M7b1QJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to