Sha256: aa99b4ef4a206f75f56d59a173237dc39a2144054e7b46ceedef3113802307f7

Contents?: true

Size: 191 Bytes

Versions: 5

Compression:

Stored size: 191 Bytes

Contents

class StaticText::StaticTextController < ::PageletController

  pagelet_resource only: [:show]

  def show
    delay = pagelet_options.sleep

    if delay
      sleep delay
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pagelet_rails-0.2.2 test/dummy/app/pagelets/static_text/static_text_controller.rb
pagelet_rails-0.2.1 test/dummy/app/pagelets/static_text/static_text_controller.rb
pagelet_rails-0.2.0 test/dummy/app/pagelets/static_text/static_text_controller.rb
pagelet_rails-0.1.8 test/dummy/app/pagelets/static_text/static_text_controller.rb
pagelet_rails-0.1.7 test/dummy/app/pagelets/static_text/static_text_controller.rb