Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Mate2xo committed Sep 14, 2024
1 parent e5e79da commit 9e5faf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/admin/members.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
:register_id,
group_ids: [],
group_members_attributes: [[%i[id assignment]]],
member_static_slots_attributes: [:id, :static_slot_id, :member_id, :_destroy]
member_static_slots_attributes: %i[id static_slot_id member_id _destroy]

menu if: proc { authorized? :index, %i[active_admin Member] } # display menu according to ActiveAdmin::Policy

Expand Down Expand Up @@ -130,7 +130,7 @@
action_item :enroll_static_members, only: :index do
link_to t('.enroll_static_members'),
enroll_static_members_admin_members_path,
data: { confirm: t('.confirm_enroll_static_members') }, method: :post
data: {confirm: t('.confirm_enroll_static_members')}, method: :post
end

action_item :remove_static_slots_of_a_member, only: %i[show edit] do
Expand Down

0 comments on commit 9e5faf8

Please sign in to comment.