Sha256: 00db4da6d99ec11a7f1d97e76a7edcaad179bd96abd062a9a04f665471f071b7

Contents?: true

Size: 193 Bytes

Versions: 29

Compression:

Stored size: 193 Bytes

Contents

module Cms
  module RoleAuthentication
    def authenticate_user(role, action_options = {})
      before_filter(action_options) {|controller| controller.authorize_role(role)}
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
liquid_cms-0.3.2.0 lib/liquid_cms/role_authentication.rb
liquid_cms-0.2.2.0 lib/liquid_cms/role_authentication.rb
liquid_cms-0.2.1.1 lib/liquid_cms/role_authentication.rb
liquid_cms-0.3.1.0 lib/liquid_cms/role_authentication.rb
liquid_cms-0.2.1.0 lib/liquid_cms/role_authentication.rb
liquid_cms-0.2.0.13 lib/liquid_cms/role_authentication.rb
liquid_cms-0.3.0.10 lib/liquid_cms/role_authentication.rb
liquid_cms-0.3.0.9 lib/liquid_cms/role_authentication.rb
liquid_cms-0.2.0.12 lib/liquid_cms/role_authentication.rb
liquid_cms-0.2.0.11 lib/liquid_cms/role_authentication.rb
liquid_cms-0.2.0.10 lib/liquid_cms/role_authentication.rb
liquid_cms-0.3.0.8 lib/liquid_cms/role_authentication.rb
liquid_cms-0.2.0.9 lib/liquid_cms/role_authentication.rb
liquid_cms-0.3.0.7 lib/liquid_cms/role_authentication.rb
liquid_cms-0.3.0.6 lib/liquid_cms/role_authentication.rb
liquid_cms-0.2.0.8 lib/liquid_cms/role_authentication.rb
liquid_cms-0.3.0.5 lib/liquid_cms/role_authentication.rb
liquid_cms-0.2.0.7 lib/liquid_cms/role_authentication.rb
liquid_cms-0.3.0.4 lib/liquid_cms/role_authentication.rb
liquid_cms-0.2.0.6 lib/liquid_cms/role_authentication.rb