sitepress-rails/rails/app/controllers/concerns/sitepress/site_pages.rb
# When in development mode, the site is reloaded and rebuilt between each request so
# that users can see changes to content and site structure. These rebuilds are unnecessary and
# slow per-request in a production environment, so they should not be reloaded.
When in development mode, the site is reloaded and rebuilt between each request so
that users can see changes to content and site structure. These rebuilds are unnecessary and
slow per-request in a production environment, so they should not be reloaded.
When in development mode the site is reloaded and rebuilt between each request so that users can see changes to content and site structure . These rebuilds are unnecessary and slow per - request in a production environment so they should not be reloaded .
def ensure_site_reload
      yield
    ensure
      reload_site
    end
def ensure_site_reload yield ensure reload_site end
When in development mode, the site is reloaded and rebuilt between each request so
that users can see changes to content and site structure.
When in development mode the site is reloaded and rebuilt between each request so that users can see changes to content and site structure .