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
classiccms-0.5.2 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.5.1 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb
classiccms-0.5.1 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.5.0 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb
classiccms-0.5.0 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.4.2 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb
classiccms-0.4.2 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.4.1 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb
classiccms-0.4.1 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.4.0 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb
classiccms-0.4.0 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.3.9 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb
classiccms-0.3.9 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
slim-1.2.2 test/rails/app/controllers/slim_controller.rb
classiccms-0.3.8 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb
classiccms-0.3.8 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.3.7 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.3.7 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb
classiccms-0.3.6 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.3.6 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb