Sha256: 24e59d7866ab0f32c5ceb42a077289fed5f30e4d959faa709191b8e125355cc5
Contents?: true
Size: 427 Bytes
Versions: 108
Compression:
Stored size: 427 Bytes
Contents
class SlimController < ApplicationController def normal end def no_layout render :layout => false end def variables @hello = "Hello Slim with variables!" end def partial end def streaming @hello = "Hello Streaming!" render :content_for, :stream => true end def integers @integer = 1337 end def nil @nil = nil end def content_for @hello = "Hello Slim!" end end
Version data entries
108 entries across 63 versions & 3 rubygems