Sha256: a575b172562ec03fe7225cf5d9e192249e53a9b464d0c8c292a38d5eb72ead60
Contents?: true
Size: 403 Bytes
Versions: 34
Compression:
Stored size: 403 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 @hide_navigation = true render :file => File.join("forever_style_guide", "demo", params[:path]) end end end
Version data entries
34 entries across 34 versions & 1 rubygems