Skip to content

Commit

Permalink
Merge pull request #2060 from geeksforsocialchange/ik-2051-remove-con…
Browse files Browse the repository at this point in the history
…troller-arg

Remove unused controller arg from admin dashboard view
  • Loading branch information
ivan-kocienski-gfsc authored Sep 21, 2023
2 parents 3f0b24a + 64c2067 commit ef2166c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/admin/pages_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module Admin
class PagesController < Admin::ApplicationController
def home
@tags = policy_scope(Tag).all.order(:name)
@partners = policy_scope(Partner).order(updated_at: :desc).limit(6)
@sites = policy_scope([:dashboard, Site]).order(:name)
@errored_calendars = policy_scope(Calendar).where(is_working: false).order(last_import_at: :desc)
Expand Down

0 comments on commit ef2166c

Please sign in to comment.