Skip to content

Commit

Permalink
home#show is no-op
Browse files Browse the repository at this point in the history
  • Loading branch information
amtuannguyen committed Nov 20, 2024
1 parent a0089b3 commit 0e60a75
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/controllers/home_controller.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
class HomeController < AuthenticatedController
def show
@fees = Alma::Fee.active.where(user_primary_id: current_user.username)
@active_fees = @fees.reject { |f| f.payment_pending? }
@osgoode_fees = @active_fees.reject { |f| f.owner_id != Alma::Fee::OWNER_OSGOODE}
@other_fees = @active_fees.reject { |f| f.owner_id == Alma::Fee::OWNER_OSGOODE}
@processing_fees = @fees.reject { |f| ! f.payment_pending? }
end

def load_fees
Expand All @@ -16,11 +11,6 @@ def load_fees
@osgoode_fees = @active_fees.reject { |f| f.owner_id != Alma::Fee::OWNER_OSGOODE}
@other_fees = @active_fees.reject { |f| f.owner_id == Alma::Fee::OWNER_OSGOODE}
@processing_fees = @fees.reject { |f| ! f.payment_pending? }

respond_to do |format|
format.html
format.js
end
end

private
Expand Down

0 comments on commit 0e60a75

Please sign in to comment.