Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Dec 21, 2024
1 parent 9c17530 commit 7e3004c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/avo/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ class Engine < ::Rails::Engine

# Add the mount_avo method to Rails
ActionDispatch::Routing::Mapper.include(Module.new {
def mount_avo(at: Avo.configuration.root_path, **options)
mount Avo::Engine, at:, **options
def mount_avo(at: Avo.configuration.root_path, **)
mount Avo::Engine, at:, **

Avo.plugin_manager.engines.each do |engine|
mount engine[:klass], **engine[:options]
Expand Down

0 comments on commit 7e3004c

Please sign in to comment.