Hello, After I''ve upgraded my application to Rails 2.2.2 I get a Routing Error: ######################################### ActionController::RoutingError in Home#index Showing app/views/application/_extjs_mainmenu.html.erb where line #19 raised: currencies_purchases_url failed to generate from {:controller=>"currencies_purchases", :action=>"index"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["currencies_purchases", :format] - are they all satisfied? Extracted source (around line #19): 16: new Ext.menu.Item({ 17: iconCls: ''x-menu-item-icon x-cols-icon'', 18: text: ''Currencies Purchases'', 19: href:''<%= currencies_purchases_path %>'' 20: }), 21: new Ext.menu.Item({ 22: iconCls: ''x-menu-item-icon x-cols-icon'', ############################################### Here is what I have in routes.rb: ############################################### map.currencies_purchases ''currencies_purchases.:format'' , :controller => ''currencies_purchases'' , :action => ''index'' , :conditions => { :method => :post }, :requirements => { :format => /csv|json/ } ############################################### --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hello, After I''ve upgraded my application to Rails 2.2.2 I get a Routing Error: ######################################### ActionController::RoutingError in Home#index Showing app/views/application/_extjs_mainmenu.html.erb where line #19 raised: currencies_purchases_url failed to generate from {:controller=>"currencies_purchases", :action=>"index"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["currencies_purchases", :format] - are they all satisfied? Extracted source (around line #19): 16: new Ext.menu.Item({ 17: iconCls: ''x-menu-item-icon x-cols-icon'', 18: text: ''Currencies Purchases'', 19: href:''<%= currencies_purchases_path %>'' 20: }), 21: new Ext.menu.Item({ 22: iconCls: ''x-menu-item-icon x-cols-icon'', ############################################### Here is what I have in routes.rb: ############################################### map.currencies_purchases ''currencies_purchases.:format'' , :controller => ''currencies_purchases'' , :action => ''index'' , :conditions => { :method => :post }, :requirements => { :format => /csv|json/ } ############################################### --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---