1
0
Fork 0
forked from OpenNeo/impress

Fix stray bugs on minor codepaths

I ran `rails zeitwerk:check`, which eager-loads the app, and it found two problems: `closet_group.rb` doesn't define `ClosetGroup` (cuz it's empty), and I left in a reference to a cache sweeper observer oops. Goodbye!
This commit is contained in:
Emi Matchu 2023-08-02 17:28:22 -07:00
parent be7e11a0d0
commit cfc5c4ef19
2 changed files with 0 additions and 2 deletions

View file

@ -5,8 +5,6 @@ class PetsController < ApplicationController
protect_from_forgery except: :submit
before_action :local_only, only: :submit
cache_sweeper :user_sweeper
def load
if params[:name] == '!'