docs: Update references

pull/1/head
Lunix-420 2024-11-08 13:24:53 +01:00
parent 05dc830048
commit 17ce97390a
2 changed files with 11 additions and 12 deletions

View File

@ -15,7 +15,7 @@ import com.maradona.backend.services.ProjectService;
* - GET /projects
* - GET /projects/create
*
* @see Project
* @see com.maradona.backend.entities.Project
*/
@Controller
@RequestMapping("/projects")
@ -32,7 +32,7 @@ public class ProjectPage {
*
* @param model The model with the data to be displayed.
* @return The projects overview page template
* @see Project
* @see com.maradona.backend.entities.Project
*/
@GetMapping({ "/", "" })
public String projects(Model model) {
@ -46,7 +46,7 @@ public class ProjectPage {
*
* @param model The model with the data to be displayed.
* @return The project creation page template
* @see Project
* @see com.maradona.backend.entities.Project
*/
@GetMapping("/create")
public String create(Model model) {

View File

@ -7,8 +7,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
import com.maradona.backend.entities.SecondarySkill;
import com.maradona.backend.entities.Employee;
import com.maradona.backend.entities.PrimarySkill;
import com.maradona.backend.services.EmployeeService;
import com.maradona.backend.services.SkillService;
import com.maradona.backend.services.PrimarySkillService;
@ -22,6 +20,7 @@ import com.maradona.backend.dto.SkillPrototype;
* - GET /skills/create
* - GET /skills/add
*
* @see com.maradona.backend.entities.SecondarySkill
*/
@Controller
@RequestMapping("/skills")
@ -47,9 +46,9 @@ public class SkillsPage {
* "employee" and a SkillsDto object "skills".
*
* @param model The model with the data to be displayed.
* @return The skills overview page template
* @see Employee
* @see SkillsDto
* @return The skills overview page template.
* @see com.maradona.backend.entities.Employee
* @see com.maradona.backend.dto.SkillsDto
*/
@GetMapping({ "/", "" })
public String profile(Model model) {
@ -66,7 +65,7 @@ public class SkillsPage {
*
* @param model The model with the data to be displayed
* @return The create skill page template
* @see SecondarySkill
* @see com.maradona.backend.entities.SecondarySkill
*/
@GetMapping("/create")
public String createSkill(Model model) {
@ -87,9 +86,9 @@ public class SkillsPage {
*
* @param model The model with the data to be displayed
* @return The add skill page template
* @see PrimarySkill
* @see SecondarySkill
* @see SkillPrototype
* @see com.maradona.backend.entities.PrimarySkill
* @see com.maradona.backend.entities.SecondarySkill
* @see com.maradona.backend.dto.SkillPrototype
*/
@GetMapping("/add")
public String addSkill(Model model) {