Skip to content

Commit ab93db9

Browse files
committed
No need to call current_user eagerly in before_action
1 parent fe0d5d5 commit ab93db9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

app/controllers/concerns/authentication.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ module Authentication
33
extend ActiveSupport::Concern
44

55
included do
6-
before_action :current_admin_user
7-
before_action :current_user
8-
96
helper_method :current_admin_user
107
helper_method :current_user
118
helper_method :user_signed_in?

0 commit comments

Comments
 (0)