Displaying 2 results from an estimated 2 matches for "render_content".
2006 Jun 06
2
Routing Priority and Unknown Action
...a special
controller just for rendering that.
To allow the static content to use all sorts of user memorable URLs I
used routing:
map.connect '':controller/:action''
map.connect ''*misc_url'', :controller => ''static'', :action =>
''render_content''
Seems graceful enough (though I have to handle 404 page rendering in the
static controller since it gets EVERYTHING).
So assuming I have a controller named "a" with an action named "b" and I
try the URL "/a/b" => all is well.
Then I try "/somethi...
2006 May 01
3
using HTML frames with rails
Hi:
I''m trying to get a page setup with the left side having a collapsable
javascript menu (built from the database) and the right side having more
data about each node in the tree... very standard actually.
I figured frames would be a good way to go, because as the tree expands
as the user dives further in, the frame will add scroll bars without
disrupting the left hand side.
The