Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: powerhome/audiences
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8375c6ee2f7e8d58980180ca21ec9c39c92a96ab
Choose a base ref
..
head repository: powerhome/audiences
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 29a3b94982a4385bdb0ef191f7c44161317cbb06
Choose a head ref
Showing with 3 additions and 3 deletions.
  1. +3 −3 audiences/lib/audiences/configuration.rb
6 changes: 3 additions & 3 deletions audiences/lib/audiences/configuration.rb
Original file line number Diff line number Diff line change
@@ -25,18 +25,18 @@ module Audiences
# I.e.:
#
# Audiences.configure do |config|
# config.authentication = ->(*) { authenticate_request }
# config.authenticate = ->(*) { authenticate_request }
# end
#
# I.e:
#
# Audiences.configure do |config|
# config.authentication = ->(request) do
# config.authenticate = ->(request) do
# request.env["warden"].authenticate!
# end
# end
#
config_accessor :authentication do
config_accessor :authenticate do
->(*) { true }
end