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

Commit

Permalink
mutex gem removal and path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Boeira committed Dec 13, 2023
1 parent ec6074f commit c5df7de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ gem 'simple_form', '~> 5.1.0'
gem 'sprockets'
gem 'uglifier'
gem 'webpacker', '~> 5.1'
gem 'mutex_m', '0.1.2'

gem 'heroicon'

gem 'caxlsx'
Expand Down
3 changes: 0 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ GEM
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
Expand Down Expand Up @@ -377,7 +376,6 @@ GEM
multi_json (1.15.0)
multi_xml (0.6.0)
multipart-post (2.3.0)
mutex_m (0.1.2)
nenv (0.3.0)
net-imap (0.4.7)
date
Expand Down Expand Up @@ -705,7 +703,6 @@ DEPENDENCIES
letter_opener_web (~> 1.4)
listen (~> 3.2)
money-rails (~> 1.12)
mutex_m (= 0.1.2)
nokogiri (~> 1.14.3)
normalize-rails (~> 4.1.1)
pg (~> 1.2)
Expand Down
4 changes: 2 additions & 2 deletions app/views/new_admin/users/_punches.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
<h3 class="mb-2 text-sm text-gray-600 dark:text-gray-400 font-semibold">
<%= t ('punches_filter.filter') %>
</h3>
<%= form_with url: new_admin_admin_user_path(@user, anchor: "user_punches"), method: :get do |form| %>
<%= form_with url: new_admin_show_user_path(@user, anchor: "user_punches"), method: :get do |form| %>
<h4 class="mb-2 text-xs font-semibold tracking-wide text-left text-gray-500 uppercase" >
<%= t ('punches_filter.range') %>
</h4>
Expand All @@ -107,7 +107,7 @@
<%= 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" %>
</div>
<%= 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" %>
<%= 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" %>
<%= 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" %>
<% end %>
</div>
<div class="py-4">
Expand Down

0 comments on commit c5df7de

Please sign in to comment.