Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement pending past court date model specs #2132

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Replace slash-separated template path in past court dates in favor of…
… Rails.root.join
  • Loading branch information
Rhian Moraes committed Jun 7, 2021
commit 5a5012a0ec0f7bb12c4da3a037388b0c81268aef
2 changes: 1 addition & 1 deletion app/models/past_court_date.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class PastCourtDate < ApplicationRecord
belongs_to :hearing_type, optional: true
belongs_to :judge, optional: true

DOCX_TEMPLATE_PATH = "app/documents/templates/default_past_court_date_template.docx"
DOCX_TEMPLATE_PATH = Rails.root.join("app", "documents", "templates", "default_past_court_date_template.docx")

# get reports associated with the case this belongs to before this court date but after the court date before this one
def associated_reports
Expand Down