hovancik/BSDSec

View on GitHub
app/controllers/application_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
ApplicationController has no descriptive comment
Missing frozen string literal comment.
Missing top-level documentation comment for `class ApplicationController`.
class ApplicationController < ActionController::Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
protect_from_forgery with: :exception
 
helper_method :tags
 
ApplicationController#tags doesn't depend on instance state (maybe move it to another class?)
def tags
Tag.all
end
end