brad2412 / mod_2_group_project

2 stars 1 forks source link

Refactor #68

Closed Jesse193 closed 1 year ago

Jesse193 commented 1 year ago

This removes the disable and enable methods in the controller and the set status in the merchant model. I tested it with rspec and manually to make sure everything stills works. It seems like it does. Just to be sure please pull this branch down locally and test it through rails s to make sure that you can enable and disable merchants in the admin/merchants.

kaileykaes commented 1 year ago

I hopped on this branch, pulled it down and went to "admin/merchants", but wasn't able to find a place to enable or disable the merchants from that uri. I also poked around "/admin/merchants/1", "/admin/merchants/1/edit", "/admin/invoices", "admin", and "/admin/invoices" for good measure, but I don't see an option to enable or disable merchants.