Sha256: 7cd62c28b8e585e65b701c1f9127aecc3a13e73cbe08c20ccb8cdbf4c9836d69

Contents?: true

Size: 282 Bytes

Versions: 7

Compression:

Stored size: 282 Bytes

Contents

class SpecAccessHelper < Zen::Controller::AdminController
  map '/admin/spec-access-helper'
  helper :access

  allow [:allowed, :allowed_1]

  def denied
    return 'super secret page'
  end

  def allowed
    return 'allowed'
  end

  def allowed_1
    return 'allowed'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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