search for: extrascontroller

Displaying 1 result from an estimated 1 matches for "extrascontroller".

2006 Jun 07
6
Links on the left hand side - are components necessary?
...ayout "main"< in pretty all of my controllers. main.rhtml has, amongst all the other HTML stuff: <%= render_component :controller=> ''dli/extras'', :action=> ''show_lookup_links''%> This is the component to display the links: class Dli::ExtrasController < ApplicationController uses_component_template_root Link=Struct.new(:name,:controller,:action) def show_lookup_links @links=[] @links << Link.new("Channels", "/lookup/channel", "index") @links << Link.new("Password durations&quot...