mirror of
https://ghfast.top/https://github.com/discourse/discourse-follow.git
synced 2026-07-15 11:36:38 +08:00
Why manually require files when we can autoload? Also update `discourse-rubocop` and resolve new lint violations.
9 lines
203 B
Ruby
9 lines
203 B
Ruby
# frozen_string_literal: true
|
|
|
|
module ::Follow
|
|
class Engine < ::Rails::Engine
|
|
engine_name "follow"
|
|
isolate_namespace Follow
|
|
config.autoload_paths << File.join(config.root, "lib")
|
|
end
|
|
end
|