0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-14 13:58:53 +08:00
discourse/plugins/discourse-subscriptions/app/controllers/concerns/group.rb
2025-07-15 16:38:05 +02:00

11 lines
211 B
Ruby
Vendored

# frozen_string_literal: true
module DiscourseSubscriptions
module Group
extend ActiveSupport::Concern
def plan_group(plan)
::Group.find_by_name(plan[:metadata][:group_name])
end
end
end