Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie authored and JamieCleare2525 committed Jul 3, 2024
1 parent 0b008cf commit 104bc84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,7 @@ def partnership_form(javascript_disabled: false)
end

def partner_school
@partner_school ||= if @school.present?
@partnership.school
else
partnership_form.school.decorate
end
@partner_school ||= partnership_form.school.decorate
end
alias_method :partner_organisation, :partner_school

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,7 @@ def partnership_form(javascript_disabled: false)
end

def partner_provider
@partner_provider ||= if @partnership.present?
@partnership.provider
else
partnership_form.provider.decorate
end
@partner_provider ||= partnership_form.provider.decorate
end
alias_method :partner_organisation, :partner_provider

Expand Down

0 comments on commit 104bc84

Please sign in to comment.