Sha256: bc6a0cd45b622b21640903658098e1e739091e2856cf000c0b02953d9e91c972
Contents?: true
Size: 373 Bytes
Versions: 6
Compression:
Stored size: 373 Bytes
Contents
module ForeverStyleGuide class StyleController < ForeverStyleGuide::ApplicationController helper ApplicationHelper before_filter :load_sections def show @current_section = @sections.detect { |section| section.id == params[:id] } end def demo render :file => File.join("forever_style_guide", "demo", params[:path]) end end end
Version data entries
6 entries across 6 versions & 1 rubygems