style(ntfy): fix bracket-spacing lint offenses
This commit is contained in:
@@ -1,9 +1,2 @@
|
||||
module AdminHelper
|
||||
def current_admin
|
||||
@current_admin ||= AdminUser.find_by(id: session[:admin_id]) if session[:admin_id]
|
||||
end
|
||||
|
||||
def logged_in?
|
||||
current_admin.present?
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,12 +1,3 @@
|
||||
module ApplicationHelper
|
||||
include Pagy::Frontend
|
||||
|
||||
# Admin authentication helpers
|
||||
def current_admin
|
||||
@current_admin ||= AdminUser.find_by(id: session[:admin_id]) if session[:admin_id]
|
||||
end
|
||||
|
||||
def logged_in?
|
||||
current_admin.present?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user