mirror of
https://github.com/we-promise/sure.git
synced 2026-04-18 19:44:09 +00:00
Lint files to rubocop omakase standards
root ➜ /workspace (fix-rubocop-issues) $ rubocop Inspecting 54 files ...................................................... 54 files inspected, no offenses detected
This commit is contained in:
@@ -15,7 +15,7 @@ class ApplicationController < ActionController::Base
|
||||
|
||||
def authenticate_user_from_session
|
||||
User.find_by(id: session[:user_id])
|
||||
end
|
||||
end
|
||||
|
||||
def user_signed_in?
|
||||
current_user.present?
|
||||
|
||||
Reference in New Issue
Block a user