Sha256: f6064c5dbfe4c58948e751bf42829a607c8e4a3add7df541f0add8a18c667463

Contents?: true

Size: 120 Bytes

Versions: 15

Compression:

Stored size: 120 Bytes

Contents

module PermissionsHelper

  def requested_permissions
    params[:permissions] || @client.default_permissions
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
devise_oauth2_rails4-2.1.8 app/helpers/permissions_helper.rb
devise_oauth2_rails4-2.1.7 app/helpers/permissions_helper.rb
devise_oauth2_rails4-2.1.6 app/helpers/permissions_helper.rb
devise_oauth2_rails4-2.1.5 app/helpers/permissions_helper.rb
devise_oauth2_rails4-2.1.4 app/helpers/permissions_helper.rb
devise_oauth2_rails4-2.1.3 app/helpers/permissions_helper.rb
devise_oauth2_rails4-2.0.3 app/helpers/permissions_helper.rb
devise_oauth2_rails4-2.1.0 app/helpers/permissions_helper.rb
devise_oauth2_rails4-2.0.2 app/helpers/permissions_helper.rb
devise_oauth2_rails4-2.0.1 app/helpers/permissions_helper.rb
devise_oauth2_rails4-2.0.0 app/helpers/permissions_helper.rb
devise_oauth2_rails4-1.1.8 app/helpers/permissions_helper.rb
devise_oauth2_rails4-1.1.7 app/helpers/permissions_helper.rb
devise_oauth2_rails4-1.1.6 app/helpers/permissions_helper.rb
devise_oauth2_rails4-1.1.5 app/helpers/permissions_helper.rb