Sha256: d430b2812fe4cc6e0fcf63eba9c910b7c3a011439f9ff31d3243c2e82e9e77a2

Contents?: true

Size: 269 Bytes

Versions: 7

Compression:

Stored size: 269 Bytes

Contents

class SpecMessageHelper < Zen::Controller::AdminController
  map '/admin/spec-message-helper'

  def success
    message(:success, 'success message')
  end

  def info
    message(:info, 'info message')
  end

  def error
    message(:error, 'error message')
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
zen-0.4.3 spec/fixtures/zen/helper/message.rb
zen-0.4.2 spec/fixtures/zen/helper/message.rb
zen-0.4.1 spec/fixtures/zen/helper/message.rb
zen-0.4 spec/fixtures/zen/helper/message.rb
zen-0.3 spec/fixtures/zen/helper/message.rb
zen-0.3b1 spec/fixtures/zen/helper/message.rb
zen-0.3b spec/fixtures/zen/helper/message.rb