before do
Rails.application.routes.draw do
get '/cats/favorite', to: 'cats#favorite'
end
end
after do
Rails.application.reload_routes!
end
Feb 14, 2025
before do
Rails.application.routes.draw do
get '/cats/favorite', to: 'cats#favorite'
end
end
after do
Rails.application.reload_routes!
end