lib/para/seo_tools/helpers/page_helper.rb
def seo_tools_scope_for(request)
          {}.tap do |hash|
            hash[:subdomain] = request.subdomain if Para::SeoTools.handle_subdomain
            hash[:domain] = request.domain if Para::SeoTools.handle_domain
            hash[:locale] = I18n.locale if I18n.available_locales.length > 1
          end
        end
# Return a simple scopes hash, letting the Page.scope_with method handle
# column and JSON field backed attributes
#
# This method is meant to be overriden in app controllers to scope
#
Return a simple scopes hash, letting the Page.scope_with method handle
column and JSON field backed attributes

This method is meant to be overriden in app controllers to scope
Return a simple scopes hash letting the Page . scope_with method handle column and JSON field backed attributes This method is meant to be overriden in app controllers to scope
def seo_tools_scope_for(request)
          {}.tap do |hash|
            hash[:subdomain] = request.subdomain if Para::SeoTools.handle_subdomain
            hash[:domain] = request.domain if Para::SeoTools.handle_domain
            hash[:locale] = I18n.locale if I18n.available_locales.length > 1
          end
        end
def seo_tools_scope_for ( request ) { } . tap do | hash | hash [ :subdomain ] = request . subdomain if Para :: SeoTools . handle_subdomain hash [ :domain ] = request . domain if Para :: SeoTools . handle_domain hash [ :locale ] = I18n . locale if I18n . available_locales . length > 1 end end
Return a simple scopes hash, letting the Page.scope_with method handle
column and JSON field backed attributes
Return a simple scopes hash letting the Page . scope_with method handle column and JSON field backed attributes
request