We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi guys, thank you for building the great app. I got the problem with intercom when I am using engine app.
intercom.rb
config.user.custom_data = { :company_admin => Proc.new { |user| user.company_admin? }, }
root_app/engines/config/initializers/intercom.rb
config.user.current = Proc.new { current_abc_user } #current_abc_user model class is ABC::User config.user.custom_data = { :admin => Proc.new { |user| user.admin? }, }
user.company_admin?
company_admin?
Thank you. 🙇
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi guys, thank you for building the great app. I got the problem with intercom when I am using engine app.
Version info
Expected behavior
Actual behavior
Steps to reproduce
intercom.rb
file)intercom.rb
inroot_app/engines/config/initializers/intercom.rb
and updateuser.company_admin?
(because that user object model hasn't defined the methodcompany_admin?
)Thank you. 🙇
The text was updated successfully, but these errors were encountered: