discourse/plugins/poll/lib/poll/engine.rb
Jarek Radosz e372355fd0
DEV: Clean up scope resolution operators in plugins (#34979)
Co-authored-by: Loïc Guitaut <loic@discourse.org>
2025-09-30 14:36:34 +02:00

15 lines
281 B
Ruby
Vendored

# frozen_string_literal: true
module DiscoursePoll
DATA_PREFIX = "data-poll-"
HAS_POLLS = "has_polls"
DEFAULT_POLL_NAME = "poll"
class Engine < ::Rails::Engine
engine_name PLUGIN_NAME
isolate_namespace DiscoursePoll
end
class Error < StandardError
end
end