1
0
mirror of synced 2026-07-27 10:25:09 +00:00
Files
discourse-subscriptions/app/controllers/concerns/group.rb
Rimian Perkins b397ba5a68 name space module
2019-12-04 11:23:45 +11:00

12 lines
211 B
Ruby

# 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