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 24e59c6258
commit afc9c0da7e
2 changed files with 0 additions and 2 deletions

View file

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