Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
s7_spruge_k
calendar
Commits
a858b910
Commit
a858b910
authored
Jun 19, 2019
by
s7_spruge_k
Browse files
fixed redirection bug with calendar
parent
e6270fc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/main/java/com/example/calendar/controller/CalendarController.java
...a/com/example/calendar/controller/CalendarController.java
+1
-1
No files found.
src/main/java/com/example/calendar/controller/CalendarController.java
View file @
a858b910
...
...
@@ -71,7 +71,7 @@ public class CalendarController {
//If user doesnt have calendar - redirected to create
try
{
calendarRepo
.
find
ByNameAnd
User
(
currUser
.
get
ActiveCalendar
(),
currUser
);
calendarRepo
.
find
AllBy
User
(
currUser
)
.
get
(
0
);
}
catch
(
Exception
e
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment