Displaying 1 result from an estimated 1 matches for "andischacke".
2010 Sep 26
2
Rails 3 - Loading a Subnav with Ajax… Which controller owns a subnav?
Once my Rails 3 app is loaded, a user can click an item which needs to
then load a dynamic subnav.
My thinking is (since it needs to be dynamic) is onClick to make a
jQuery AJAX call to the server and then to inject the HTML response
into a DIV on the page...
What I''d like your advice on is how/where the subnav logic should live
in the rails app, as I don''t have a navigation