Skip to content

Commit

Permalink
[RUBY-3433] Refactor current_user method in application_controller.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
brujeo committed Oct 23, 2024
1 parent 336c7cf commit 3f430d2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ class ApplicationController < ActionController::Base
def current_user
return unless defined?(super)

# :nocov:
super
# :nocov:
end

protected
Expand Down

0 comments on commit 3f430d2

Please sign in to comment.