Changeset 1235
- Timestamp:
- 07/23/08 21:28:55 (4 months ago)
- Files:
-
- trunk/app/controllers/public_controller.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/app/controllers/public_controller.rb
r1233 r1235 44 44 @content = find_content 45 45 46 logger.debug @content.episode.show.template.inspect47 46 if @content.episode.show.template.nil? 48 47 @page_type = :condensed … … 65 64 66 65 def render_template(show, view, object) 67 render :layout => false, :template => "#{show.template.slug}/#{view}", :locals => { view.to_sym => object } 66 template = show.template 67 @theme = template 68 render :layout => false, :template => "#{template.slug}/#{view}", 69 :locals => { view.to_sym => object } 68 70 end 69 71
