From 02798f2858d4b0e2b1e84fd8d99ab6f681ea2ec1 Mon Sep 17 00:00:00 2001 From: IMonardez Date: Tue, 10 Dec 2024 10:36:24 -0300 Subject: [PATCH] ISSUE #448: Changes at ability --- app/models/ability.rb | 2 +- app/views/student_enrollment/_show_dismissal.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/ability.rb b/app/models/ability.rb index f6c822af..5e5feae8 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -228,7 +228,7 @@ def initialize_configurations(user, roles) alias_action :execute_now, :execute_now, :notify, to: :update if roles[Role::ROLE_COORDENACAO] can :manage, (Ability::CONFIGURATION_MODELS - [ - CustomVariable, ReportConfiguration, ProgramLevel + CustomVariable, ReportConfiguration ]) end if roles[Role::ROLE_SECRETARIA] diff --git a/app/views/student_enrollment/_show_dismissal.html.erb b/app/views/student_enrollment/_show_dismissal.html.erb index 11ad812b..a05777ef 100644 --- a/app/views/student_enrollment/_show_dismissal.html.erb +++ b/app/views/student_enrollment/_show_dismissal.html.erb @@ -35,7 +35,7 @@

<%= t "activerecord.attributes.enrollment.thesis_defense_committee_professors" %>

<%= render partial: "enrollments/show_defense_committee_table", locals: { thesis_defense_committee_professors: thesis_defense_committee_professors, - thesis_defense_date: enrollment.thesis_defense_date, + thesis_defense_date: thesis_defense_date, } %> <% end %>