Skip to content

Commit

Permalink
move federails include into engine definition file
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Nov 26, 2024
1 parent 44d8cd0 commit 2d379fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/federails/moderation.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
require "federails"
require "federails/moderation/version"
require "federails/moderation/engine"

module Federails
module Moderation
# Your code goes here...
end
end
3 changes: 3 additions & 0 deletions lib/federails/moderation/engine.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
require "federails"

module Federails
module Moderation
class Engine < ::Rails::Engine
isolate_namespace Federails::Moderation
end
end
end

0 comments on commit 2d379fd

Please sign in to comment.