All, I added this: map.connect '''', :controller => ''application'', :action => ''index'' to my routes.rb file. But I don''t see ApplicationController#index being called when I request ''/'' from my server. Is it cool to route directly to the ApplicationController? Thanks, Wes -- 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-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 -~----------~----~----~----~------~----~------~--~---
Wes Gamble wrote:> All, > > I added this: > > map.connect '''', :controller => ''application'', :action => ''index'' > > to my routes.rb file. But I don''t see ApplicationController#index being > called when I request ''/'' from my server. > > Is it cool to route directly to the ApplicationController? > > Thanks, > WesNever mind, some weird IE caching crap. WG -- 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-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 -~----------~----~----~----~------~----~------~--~---
On May 3, 12:17 pm, Wes Gamble <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> All, > > I added this: > > map.connect '''', :controller => ''application'', :action => ''index'' > > to my routes.rb file. But I don''t see ApplicationController#index being > called when I request ''/'' from my server. > > Is it cool to route directly to the ApplicationController?Actually I think the answer to that question is "no". Check out this thread: http://www.ruby-forum.com/topic/89699#173428 -Bill --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---