From 2d379fdf1d7e5ac36b880ba16312b4d406280301 Mon Sep 17 00:00:00 2001 From: James Smith Date: Tue, 26 Nov 2024 16:23:06 +0000 Subject: [PATCH] move federails include into engine definition file --- lib/federails/moderation.rb | 2 -- lib/federails/moderation/engine.rb | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/federails/moderation.rb b/lib/federails/moderation.rb index 5aab6b9..5a37c24 100644 --- a/lib/federails/moderation.rb +++ b/lib/federails/moderation.rb @@ -1,9 +1,7 @@ -require "federails" require "federails/moderation/version" require "federails/moderation/engine" module Federails module Moderation - # Your code goes here... end end diff --git a/lib/federails/moderation/engine.rb b/lib/federails/moderation/engine.rb index c5ffc42..fe627bc 100644 --- a/lib/federails/moderation/engine.rb +++ b/lib/federails/moderation/engine.rb @@ -1,6 +1,9 @@ +require "federails" + module Federails module Moderation class Engine < ::Rails::Engine + isolate_namespace Federails::Moderation end end end