From f6d2969ab0e610f600d40d88fb3fc11f2869baa4 Mon Sep 17 00:00:00 2001 From: Tim Fischbach Date: Mon, 7 Oct 2024 15:38:33 +0200 Subject: [PATCH] Improve doc string Make example more generic. Keep example usage of host application route helpers --- lib/pageflow/configuration.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/pageflow/configuration.rb b/lib/pageflow/configuration.rb index f78278051..e3e78828c 100644 --- a/lib/pageflow/configuration.rb +++ b/lib/pageflow/configuration.rb @@ -429,10 +429,8 @@ class Configuration # # @example # - # config.features.register 'ai_translator' do |feature_config| - # feature_config.entry_translator_url = lambda do |entry| - # Rails.application.routes.url_helpers.new_admin_entry_ai_translation_path(entry) - # end + # config.entry_translator_url = lambda do |entry| + # Rails.application.routes.url_helpers.some_custom_route(entry) # end # @since edge attr_accessor :entry_translator_url