Byte4/acebook-byte4

View on GitHub
app/controllers/posts_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage

Showing 3 of 3 total issues

Missing magic comment # frozen_string_literal: true.
Open

class PostsController < ApplicationController
Severity: Minor
Found in app/controllers/posts_controller.rb by rubocop

Missing top-level class documentation comment.
Open

class PostsController < ApplicationController
Severity: Minor
Found in app/controllers/posts_controller.rb by rubocop

Use 2 (not 4) spaces for indentation.
Open

@post.destroy
Severity: Minor
Found in app/controllers/posts_controller.rb by rubocop
Category
Status