Skip to content

Commit

Permalink
Remove unused controller arg from admin dashboard view
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-kocienski-gfsc committed Sep 19, 2023
1 parent ec3118c commit 391a559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/admin/pages_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Admin
class PagesController < Admin::ApplicationController
def home
@tags = policy_scope(Tag).all.order(:name)
# @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 391a559

Please sign in to comment.