edit .gitignore and revise ProjectsController#edit