I am playing around with tabnav plugin
The methodology of this plugin has a separate model and controller for
each level of tabs (and I am planning on nesting the tabs). This makes
it impossible to use a standard instance variable - for example...
clients_tabnav model sets the tabs in this fashion...
class ClientsTabnav < Tabnav::Base
named 'General Info'
links_to :controller => 'clients', :action => 'edit_general_info'
named 'Personal Info'
links_to :controller => 'clients', :action => 'edit_personal_info'
and if I were to add ':id => @client.id to the links_to line, @client.id
means nothing to this controller but it obviously works in the same view
that is rendered from one of those 'actions' above. I can push the value
of @client.id into the session hash but I can see that is going to get
ugly real quick so I'm wondering if there is a way I can link the
ClientsTabnav Class into the Clients Class so that the @client instance