fixed restaurants controller and js file edit button