mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-02-27 14:29:39 +00:00
12 lines
205 B
Ruby
12 lines
205 B
Ruby
# frozen_string_literal: true
|
|
|
|
module DiscoursePatrons
|
|
module Group
|
|
extend ActiveSupport::Concern
|
|
|
|
def plan_group(plan)
|
|
::Group.find_by_name(plan[:metadata][:group_name])
|
|
end
|
|
end
|
|
end
|