Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Second Hand Disposal
Manage
Activity
Members
Labels
Plan
Issues
7
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Haoyu Sun
Second Hand Disposal
Merge requests
!20
Five pages index controller
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Five pages index controller
five-pages-indexController
into
master
Overview
0
Commits
10
Pipelines
0
Changes
15
Closed
Haoyu Sun
requested to merge
five-pages-indexController
into
master
3 months ago
Overview
0
Commits
10
Pipelines
0
Changes
15
Expand
0
0
Merge request reports
Compare
master
version 3
3e5d9f89
3 months ago
version 2
33735f0b
3 months ago
version 1
f06704e8
3 months ago
master (base)
and
latest version
latest version
b40133a8
10 commits,
3 months ago
version 3
3e5d9f89
9 commits,
3 months ago
version 2
33735f0b
8 commits,
3 months ago
version 1
f06704e8
7 commits,
3 months ago
15 files
+
20383
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
15
Search (e.g. *.vue) (Ctrl+P)
src/main/java/uk/ac/cf/spring/demo/takeaway/index/IndexController.java
0 → 100644
+
19
−
0
Options
package
uk.ac.cf.spring.demo.takeaway.index
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.servlet.ModelAndView
;
@Controller
public
class
IndexController
{
@GetMapping
(
"/index"
)
public
ModelAndView
getIndex
()
{
ModelAndView
modelAndView
=
new
ModelAndView
(
"/page/index"
);
return
modelAndView
;
}
@GetMapping
(
"/index/groupList"
)
public
ModelAndView
getGroupList
()
{
ModelAndView
modelAndView
=
new
ModelAndView
(
"/page/groupList"
);
return
modelAndView
;
}
}
Loading