Thanks for your kind reply.
Here is the code of my routes.rb file
Please suggest corrections, if any...

   map.resources :notices
   map.resources :users, :has_many => :notices
   map.resource :session

  map.connect ':controller/:action/:id'
  map.connect ':controller/:action/:id.:format'
  map.connect '/notices/:id/:abc', :controller => "notices", :action
=> "abc"

  map.root :controller=> 'welcome'
  map.signup '/signup', :controller => 'users', :action => 'new'
  map.login '/login', :controller => 'sessions', :action => 'new'
  map.logout '/logout', :controller => 'sessions', :action =>
'destroy'
  map.create '/create', :controller => 'notices', :action => 'new'

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