mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-22 22:59:39 +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
|
@ -1,6 +1,6 @@
|
|||
class SessionsController < ApplicationController
|
||||
layout "auth"
|
||||
|
||||
|
||||
def new
|
||||
end
|
||||
|
||||
|
@ -13,10 +13,9 @@ class SessionsController < ApplicationController
|
|||
render :new, status: :unprocessable_entity
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
def destroy
|
||||
logout
|
||||
redirect_to root_path, notice: "You have signed out successfully."
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue