deleted json and edtited controller.rb