Skip to content

Commit

Permalink
little cosmeitc
Browse files Browse the repository at this point in the history
  • Loading branch information
lazaronixon committed Nov 2, 2024
1 parent f9d0459 commit ea090a3
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class Session < ApplicationRecord
after_destroy { user.events.create! action: "signed_out" }
<%- end -%>
<%- if sudoable? %>

def sudo?
sudo_at > 30.minutes.ago
end
Expand Down

0 comments on commit ea090a3

Please sign in to comment.