additionals/app/models/dashboard_role.rb
2021-04-18 13:34:55 +02: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