additionals/app/models/dashboard_role.rb
2021-12-26 08:17:22 +01:00

12 lines
213 B
Ruby

# frozen_string_literal: true
class DashboardRole < ActiveRecord::Base
include Redmine::SafeAttributes
belongs_to :dashboard
belongs_to :role
validates :dashboard, :role,
presence: true
end