We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08b96ce commit f4c45c3Copy full SHA for f4c45c3
lib/cortex/snippets/client.rb
@@ -23,7 +23,7 @@ def current_webpage
23
if defined?(Rails)
24
url = sanitized_webpage_url(request.original_url)
25
Rails.cache.fetch("webpages/#{@cortex_client.access_token.client.id}/#{url}", race_condition_ttl: 10) do
26
- Cortex::Snippets::Client::Webpage.new(@cortex_client, url)
+ Cortex::Snippets::Webpage.new(@cortex_client, url)
27
end
28
else
29
raise 'Your Web framework is not supported. Supported frameworks: Rails'
0 commit comments