mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user