Commit adf48b90 authored by Sean McGivern's avatar Sean McGivern

Expose plan from license

parent 21a251e8
......@@ -99,6 +99,10 @@ class License < ActiveRecord::Base
restricted_attr(:previous_user_count)
end
def plan
restricted_attr(:plan)
end
def current_active_users_count
@current_active_users_count ||= User.active.count
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment