David White wrote in post #974243:
> The only suggestion I can think of is to check there's no private or
> protected call on any of the lines above the method name or to check the
> routes file:
>
> project_actions.connect 'projects/draganddropsort', :action
> => 'draganddropsort'
>
> Where is the project_actions coming from ? is it a block variable for
> map.resources :projects do |project_actions| ?
>
> David
projects.with_options :conditions => {:method => :post} do
|project_actions|
Even i think some mistake in routing ..i did some workaround on
it....but all in vain :(.
I call draganddropsort method from roadmap view..and its route is been
added like
map.with_options :controller => 'projects' do |projects|
projects.with_options :conditions => {:method => :get} do
|project_views|
.....
project_views.connect 'projects/:id/:action', :action => 'roadmap'
....
end
Can anyone suggest possible routes that i can add.
Thanks
anju
--
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 [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.