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

Version Path
hamlet-0.4.2 test/rails/app/controllers/slim_controller.rb
hamlet-0.4.1 test/rails/app/controllers/slim_controller.rb
hamlet-0.4.0 test/rails/app/controllers/slim_controller.rb
hamlet-0.3.0 test/rails/app/controllers/slim_controller.rb
hamlet-0.2.1 test/rails/app/controllers/slim_controller.rb
hamlet-0.2 test/rails/app/controllers/slim_controller.rb
hamlet-0.1 test/rails/app/controllers/slim_controller.rb
slim-1.0.3 test/rails/app/controllers/slim_controller.rb