vendor/cache/ruby/2.3.0/gems/warden-github-rails-1.3.0/lib/warden/github/rails/routes.rb
# The routes will only be visible to all but authenticated GitHub users.
#
# This constraint currently does not check for memberships since of its
# limited usage.
The routes will only be visible to all but authenticated GitHub users.
This constraint currently does not check for memberships since of its
limited usage.
The routes will only be visible to all but authenticated GitHub users . This constraint currently does not check for memberships since of its limited usage .
def github_unauthenticated(scope=nil, options={}, &routes_block)
          github_constraint(scope, options, routes_block) do |warden, scope|
            not warden.authenticated?(scope: scope)
          end
        end
def github_unauthenticated ( scope = nil , options = { } , & routes_block ) github_constraint ( scope , options , routes_block ) do | warden , scope | not warden . authenticated? ( scope : scope ) end end
The routes will only be visible to all but authenticated GitHub users.
The routes will only be visible to all but authenticated GitHub users .
scope
<not_specific>
options
<not_specific>
routes_block
<not_specific>