var_dump in editproject controller