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.7.5 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.7.5 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb
classiccms-0.7.4 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.7.4 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb
classiccms-0.7.3 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb
classiccms-0.7.3 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.7.2 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.7.2 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb
classiccms-0.7.1 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.7.1 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb
classiccms-0.7.0 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.7.0 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb
classiccms-0.6.9 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb
classiccms-0.6.9 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.6.8 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb
classiccms-0.6.8 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.6.7 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.6.7 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb
classiccms-0.6.6 vendor/bundle/gems/slim-1.2.0/test/rails/app/controllers/slim_controller.rb
classiccms-0.6.6 vendor/bundle/gems/slim-1.2.1/test/rails/app/controllers/slim_controller.rb