Thank you for your response. I don't understand what you mean with "admin login"... There is only one user who can create, edit and delete. This user is the admin. The other "users" aren't users at all because they never log in.
With the namespace route I have now, my problem is when a "user" (visitor) is redirected to items_path, because the namespace route redirect to the admin view instead user view... (unless I change the order in routes.rb, but if I do that, when the admin is redirected to items_path the route used is map.resources :items) Perhaps this is not the best way for doing this... Any suggestions? PD: I would take a look to Authlogic for next projects Thanks again! -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.