It is definitely routing problem.
I could partially solve the problem by adding this:

  map.connect 'login', :controller => 'login', :action => "login_page"
  map.connect 'login/list_users', :controller => "login", :action => 
"list_users"
  map.connect 'login/add_user', :controller => "login", :action => 
"add_user"
  map.connect 'login/logout', :controller => "login", :action => 
"logout"

to the routes.rb and just first line is working.
So redirecting to the <app>/login or typing it directly gives login_page 
action from the login controller.
The remaining problem is that I still can't use any action directly like 
/login/list_users or even /login/login_page.
-- 
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.

Reply via email to