mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 05:09:38 +02: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:
parent
9014c8e615
commit
1cc9550c80
10 changed files with 13 additions and 17 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue