Skip to content

Commit

Permalink
Merge branch 'main' into ik-2231-partner-site-list
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-kocienski-gfsc authored Feb 1, 2024
2 parents 78e5d5a + 542cdaa commit ffe5c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/admin/partners_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class PartnersController < Admin::ApplicationController
before_action :set_partner, only: %i[show edit update destroy clear_address]
before_action :set_tags, only: %i[new create edit]
before_action :set_neighbourhoods, only: %i[new edit]
before_action :set_partner_tags_controller, only: %i[new edit update]
before_action :set_partner_tags_controller, only: %i[create new edit update]

def index
@partners = policy_scope(Partner).order({ updated_at: :desc }, :name).includes(:address)
Expand Down

0 comments on commit ffe5c44

Please sign in to comment.