Displaying 2 results from an estimated 2 matches for "render_page".
Did you mean:
header_page
2006 Apr 26
2
Retrieving :id without passing it
...rrently map the url correctly, however I have no way of
retrieving the proper value of the id from the url to determine what
page to render.
My routes.rb looks as follows:
map.page '':parent_name/:page_name'', :controller => ''admin'', :action =>
''render_page'', :requirements => { :parent_name => /[\w-]+/, :page_name
=> /[\w-]+/ }, :page_name => nil
Can I pass the ID of the page without actually revealing it within the
URL? Or perhaps I can search the DB using LIKE by breaking up the name?
--
Posted via http://www.ruby-forum.co...
2007 May 04
0
[1011] trunk/wxruby2/doc/textile/printpreview.txtl: Update docs for PrintPreview ok
...":#PrintPreview_ok
</ins><span class="cx"> * "PrintPreview#paint_page":#PrintPreview_paintpage
</span><span class="cx"> * "PrintPreview#print":#PrintPreview_print
</span><span class="cx"> * "PrintPreview#render_page":#PrintPreview_renderpage
</span><span class="lines">@@ -119,9 +119,9 @@
</span><span class="cx"> or NULL if none exists.
</span><span class="cx">
</span><span class="cx">
</span><del>-h3(#Pri...