Module: MoMeHelper
- Extended by:
- ActiveSupport::Concern
- Included in:
- NewsmastMastodon::Concerns::AccountsCreation
- Defined in:
- app/helpers/mo_me_helper.rb
Overview
Source: accounts/app/helpers/mo_me_helper.rb
Instance Method Summary collapse
Instance Method Details
#is_mo_me? ⇒ Boolean
7 8 9 10 11 12 13 |
# File 'app/helpers/mo_me_helper.rb', line 7 def is_mo_me? return true if Rails.env.development? return true if ENV.fetch('LOCAL_DOMAIN', nil) == 'mo-me.social' false end |