Skip to content
This repository was archived by the owner on Dec 28, 2023. It is now read-only.

Commit c5df7de

Browse files
committed
mutex gem removal and path fix
1 parent ec6074f commit c5df7de

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ gem 'simple_form', '~> 5.1.0'
3131
gem 'sprockets'
3232
gem 'uglifier'
3333
gem 'webpacker', '~> 5.1'
34-
gem 'mutex_m', '0.1.2'
34+
3535
gem 'heroicon'
3636

3737
gem 'caxlsx'

Gemfile.lock

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ GEM
107107
drb
108108
i18n (>= 1.6, < 2)
109109
minitest (>= 5.1)
110-
mutex_m
111110
tzinfo (~> 2.0)
112111
addressable (2.8.5)
113112
public_suffix (>= 2.0.2, < 6.0)
@@ -377,7 +376,6 @@ GEM
377376
multi_json (1.15.0)
378377
multi_xml (0.6.0)
379378
multipart-post (2.3.0)
380-
mutex_m (0.1.2)
381379
nenv (0.3.0)
382380
net-imap (0.4.7)
383381
date
@@ -705,7 +703,6 @@ DEPENDENCIES
705703
letter_opener_web (~> 1.4)
706704
listen (~> 3.2)
707705
money-rails (~> 1.12)
708-
mutex_m (= 0.1.2)
709706
nokogiri (~> 1.14.3)
710707
normalize-rails (~> 4.1.1)
711708
pg (~> 1.2)

app/views/new_admin/users/_punches.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
<h3 class="mb-2 text-sm text-gray-600 dark:text-gray-400 font-semibold">
9595
<%= t ('punches_filter.filter') %>
9696
</h3>
97-
<%= form_with url: new_admin_admin_user_path(@user, anchor: "user_punches"), method: :get do |form| %>
97+
<%= form_with url: new_admin_show_user_path(@user, anchor: "user_punches"), method: :get do |form| %>
9898
<h4 class="mb-2 text-xs font-semibold tracking-wide text-left text-gray-500 uppercase" >
9999
<%= t ('punches_filter.range') %>
100100
</h4>
@@ -107,7 +107,7 @@
107107
<%= form.date_field :to, value: to, class: "bg-gray-100 font-semibold rounded-lg text-gray-600 text-sm dark:bg-slate-700 dark:text-gray-400" %>
108108
</div>
109109
<%= form.submit "#{t('punches_filter.to_filter')}", formmethod: :get, class: "px-4 py-2 mr-2 cursor-pointer font-semibold text-sm text-white transition-colors duration-150 rounded-lg bg-primary-600 hover:bg-primary-700" %>
110-
<%= link_to "#{t('punches_filter.clean_filter')}", new_admin_admin_user_path(@user, anchor: "user_punches"), class: "px-4 py-2 cursor-pointer font-semibold text-sm text-white transition-colors duration-150 rounded-lg bg-slate-700 hover:bg-gray-600" %>
110+
<%= link_to "#{t('punches_filter.clean_filter')}", new_admin_show_user_path(@user, anchor: "user_punches"), class: "px-4 py-2 cursor-pointer font-semibold text-sm text-white transition-colors duration-150 rounded-lg bg-slate-700 hover:bg-gray-600" %>
111111
<% end %>
112112
</div>
113113
<div class="py-4">

0 commit comments

Comments
 (0)