Skip to content

Commit

Permalink
Merge pull request intercom#256 from intercom/bv/remove_acquire_refer…
Browse files Browse the repository at this point in the history
…ences

removed references to deprecated Acquire package
  • Loading branch information
kmossco authored May 12, 2017
2 parents 8824174 + e2a5cb6 commit f20c2dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/intercom-rails/shutdown_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module IntercomRails
module ShutdownHelper
# This helper allows to erase cookies when a user log out of an application
# It is recommanded to call this function every time a user log out of your application
# specifically if you use both "Acquire" and another Intercom product
# Do not use before a redirect_to because it will not clear the cookies on a redirection
def self.intercom_shutdown_helper(cookies)
if (cookies.is_a?(ActionDispatch::Cookies::CookieJar))
Expand Down
2 changes: 1 addition & 1 deletion lib/rails/generators/intercom/config/intercom.rb.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ IntercomRails.config do |config|

# == Include for logged out Users
# If set to true, include the Intercom messenger on all pages, regardless of whether
# The user model class (set below) is present. Only available for Apps on the Acquire plan.
# The user model class (set below) is present.
<%- if @include_for_logged_out_users -%>
config.include_for_logged_out_users = true
<%- else -%>
Expand Down

0 comments on commit f20c2dd

Please sign in to comment.