lib/tramway/admin/singleton_models.rb in tramway-admin-1.21.1 vs lib/tramway/admin/singleton_models.rb in tramway-admin-1.21.2

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + module Tramway::Admin::SingletonModels def set_singleton_models(*models, project:, role: :admin) @singleton_models ||= {} @singleton_models[project] ||= {} @singleton_models[project][role] ||= []