rails_best_practices
rails_best_practices copied to clipboard
False Positive restrict auto-generated routes with alias
def show
# code here
end
alias index show
Will generate a message like
config/routes.rb - restrict auto-generated routes api/model (only: [:show]