From 3e188242ee29e7433a32a4da1ae5e6d26ac70407 Mon Sep 17 00:00:00 2001 From: Adrian Date: Fri, 8 Mar 2024 22:11:46 +0700 Subject: [PATCH] wip --- docs/3.0/avo-application-controller.md | 2 +- docs/3.0/customization.md | 11 +---------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/docs/3.0/avo-application-controller.md b/docs/3.0/avo-application-controller.md index 2156fa56..fdc017b2 100644 --- a/docs/3.0/avo-application-controller.md +++ b/docs/3.0/avo-application-controller.md @@ -40,7 +40,7 @@ There is a right way of approaching this scenario using Ruby modules or concerns First, you create a concern with your business logic; then you include it in the parent `Avo::ApplicationController` like so: -```ruby{5-7,9-11,15-18} +```ruby{6-8,11-13,18} # app/controllers/concerns/multitenancy.rb module Multitenancy extend ActiveSupport::Concern diff --git a/docs/3.0/customization.md b/docs/3.0/customization.md index ba526363..fe42c1ea 100644 --- a/docs/3.0/customization.md +++ b/docs/3.0/customization.md @@ -530,19 +530,10 @@ You can configure it using `config.turbo` option on `avo.rb` initializer Supported options with default values: -:::code-group -```ruby [Current version] +```ruby config.turbo = -> do { instant_click: true } end ``` -```ruby [3.4.2] - config.turbo = -> do - { - instantclick: true - } - end -``` -:::