search for: current_control

Displaying 2 results from an estimated 2 matches for "current_control".

Did you mean: currentcontrol
2006 Aug 04
4
Tabs
I''m new to Ruby/Rails I want to create Tabs similar to these... http://demo.raibledesigns.com/struts-menu/tabbedMenu.jsp;jsessionid=aM2yeUTgLeTbY7WLAZ;jsessionid=aBFrrGHWQim4pwSPAZ?People Can someone outline the best method? Specifically, Is creating a tabs.html in \..apps\views\layouts and using class PhotoController < ApplicationController layout "tabs" ....in my
2005 Oct 02
1
rendering if template exists
Hi folks, I have a component on my site called RelatedController. I intend to put some links and content related with the current page (controller and action). What I want to do is for the time being is render :partial "#{@current_controller}_#{@current_action}" Then in the component template root I have templates like _products_index _products_cart etc. I have decided to put this into a component because over the time I''ll be integrating more logic into the component but for now all I want is to render a templa...