Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Team 5 - Smart Towns
Manage
Activity
Members
Labels
Plan
Issues
34
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
1
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
Rhys Evans
Team 5 - Smart Towns
Commits
c9467509
Commit
c9467509
authored
1 year ago
by
Rhys Evans
Browse files
Options
Downloads
Patches
Plain Diff
Renamed webpage controller class
parent
d55c415e
No related branches found
Branches containing commit
No related tags found
1 merge request
!2
Merger to resolve "As a user, I want the webpage to be easily operable so that I can navigate through the content effortlessly and accomplish my tasks efficiently."
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/Team5/SmartTowns/Webpages/WebpageController.java
+3
-3
3 additions, 3 deletions
...ain/java/Team5/SmartTowns/Webpages/WebpageController.java
with
3 additions
and
3 deletions
src/main/java/Team5/SmartTowns/Web
P
ages/Web
P
ageController.java
→
src/main/java/Team5/SmartTowns/Web
p
ages/Web
p
ageController.java
+
3
−
3
View file @
c9467509
package
Team5.SmartTowns.Web
P
ages
;
package
Team5.SmartTowns.Web
p
ages
;
import
org.springframework.web.bind.annotation.GetMapping
;
...
...
@@ -6,13 +6,13 @@ import org.springframework.web.servlet.ModelAndView;
import
org.springframework.web.servlet.mvc.Controller
;
@Controller
public
class
Web
P
ageController
{
public
class
Web
p
ageController
{
@GetMapping
()
public
ModelAndView
getXWebPage
(
"/html page here"
){
ModelAndView
modelAndView
=
new
ModelAndView
(
"Desired ViewName"
);
return
modelAndView
;
return
modelAndView
;
}
@GetMapping
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment