Displaying 1 result from an estimated 1 matches for "singlepanel".
Did you mean:
singlepage
2006 Apr 19
4
Weird Problem - probably a noob mistake
I was up late last night trying to find the cause of this, but I''m
stumped.
I have this relatively simple controller to load up a bio. It''s basicly
id, name, desc, type (I use STI).
class BioController < ApplicationController
layout ''layouts/singlepanel''
def index
@bio = Bio.find(:all, :conditions => [''site_id = ?'',
@session[''site''].id])
render ''bio/index''
end
end
However when I attempt to display the data in the view using this:
<h2> <%=@bio.name%>...