Sha256: 9b485b63e2efe3b7c0f6079a2259e081a0c0735358c41dc2900a1f889e4aa249

Contents?: true

Size: 175 Bytes

Versions: 18

Compression:

Stored size: 175 Bytes

Contents

module WCC::Auth::ControllerHelpers

  def access_level
    current_user.access_level
  end

  def self.included(receiver)
    receiver.helper_method :access_level
  end

end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
wcc-auth-0.9.0 lib/wcc/auth/controller_helpers.rb
wcc-auth-0.8.3 lib/wcc/auth/controller_helpers.rb
wcc-auth-0.8.2 lib/wcc/auth/controller_helpers.rb
wcc-auth-0.8.1 lib/wcc/auth/controller_helpers.rb
wcc-auth-0.8.0 lib/wcc/auth/controller_helpers.rb
wcc-auth-0.7.3 lib/wcc/auth/controller_helpers.rb
wcc-auth-0.7.2 lib/wcc/auth/controller_helpers.rb
wcc-auth-0.7.1 lib/wcc/auth/controller_helpers.rb
wcc-auth-0.7.0 lib/wcc/auth/controller_helpers.rb
wcc-auth-0.6.0 lib/wcc/auth/controller_helpers.rb
wcc-auth-0.5.0 lib/wcc/auth/controller_helpers.rb
wcc-auth-0.4.0 lib/wcc/auth/controller_helpers.rb
wcc-auth-0.3.5 lib/wcc/auth/controller_helpers.rb
wcc-auth-0.3.4 lib/wcc/auth/controller_helpers.rb
wcc-auth-0.3.3 lib/wcc/auth/controller_helpers.rb
wcc-auth-0.3.2 lib/wcc/auth/controller_helpers.rb
wcc-auth-0.3.1 lib/wcc/auth/controller_helpers.rb
wcc-auth-0.3.0 lib/wcc/auth/controller_helpers.rb