Skip to content

Commit ada4617

Browse files
committed
[#27] Standardrb
1 parent ad1b7b9 commit ada4617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/application_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def authorized
2020
unless logged_in?
2121
respond_to do |format|
2222
format.html { redirect_to login_path, alert: "You must be logged in to perform that action." }
23-
format.json { render json: { error: "Unauthorized" }, status: :unauthorized }
23+
format.json { render json: {error: "Unauthorized"}, status: :unauthorized }
2424
end
2525
end
2626
end

0 commit comments

Comments
 (0)