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:
parent
24e59c6258
commit
afc9c0da7e
2 changed files with 0 additions and 2 deletions
|
@ -6,8 +6,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] == '!'
|
||||||
redirect_to roulette_path
|
redirect_to roulette_path
|
||||||
|
|
Loading…
Reference in a new issue