additionals/app/models/dashboard_role.rb

12 lines
223 B
Ruby

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