Skip to content

Commit

Permalink
Merge pull request #1228 from SplitTime/oveson/fix-disassociate-button
Browse files Browse the repository at this point in the history
Fix Disassociate button by using button_to
  • Loading branch information
moveson authored Sep 21, 2024
2 parents fb81c4d + cce4dfe commit 5bf605c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ GEM
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (6.0.1)
puma (6.4.2)
puma (6.4.3)
nio4r (~> 2.0)
pundit (2.4.0)
activesupport (>= 3.0.0)
Expand Down
2 changes: 1 addition & 1 deletion app/views/efforts/_efforts_list_person.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<td><%= l(effort.event.scheduled_start_time.to_date, format: :full_with_weekday) %></td>
<td class="text-end"><%= text_with_status_indicator(effort.finish_status, effort.data_status, data_type: :effort_time_data) %></td>
<% if current_user&.admin? %>
<td class="text-end"><%= link_to "Disassociate",
<td class="text-end"><%= button_to "Disassociate",
effort_path(effort,
effort: { person_id: nil },
button: :disassociate,
Expand Down

0 comments on commit 5bf605c

Please sign in to comment.