Skip to content

Commit d7a34b8

Browse files
authored
Adjust redirect handling (#896)
1 parent 77ef092 commit d7a34b8

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

snprc_ehr/src/org/labkey/snprc_ehr/SNPRC_EHRController.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ public ApiResponse execute(SimpleApiJsonForm simpleApiJsonForm, BindException er
305305
public static class BirthReportAction extends SimpleRedirectAction<Object>
306306
{
307307
@Override
308-
public URLHelper getRedirectURL(Object o)
308+
public ActionURL getRedirectURL(Object o)
309309
{
310310
return new ActionURL(NAME, "BirthRecordReport", getContainer());
311311
}
@@ -315,7 +315,7 @@ public URLHelper getRedirectURL(Object o)
315315
public static class SsrsReportsAction extends SimpleRedirectAction<Object>
316316
{
317317
@Override
318-
public URLHelper getRedirectURL(Object o)
318+
public ActionURL getRedirectURL(Object o)
319319
{
320320
return new ActionURL(NAME, "SsrsReporting", getContainer());
321321
}
@@ -325,7 +325,7 @@ public URLHelper getRedirectURL(Object o)
325325
public static class IdChipReaderAction extends SimpleRedirectAction
326326
{
327327
@Override
328-
public URLHelper getRedirectURL(Object o)
328+
public ActionURL getRedirectURL(Object o)
329329
{
330330
return new ActionURL(NAME, "ChipReader", getContainer());
331331
}
@@ -335,7 +335,7 @@ public URLHelper getRedirectURL(Object o)
335335
public static class SndEventViewAction extends SimpleRedirectAction<Object>
336336
{
337337
@Override
338-
public URLHelper getRedirectURL(Object o)
338+
public ActionURL getRedirectURL(Object o)
339339
{
340340
return new ActionURL(NAME, "SndEventsViewer", getContainer());
341341
}
@@ -345,7 +345,7 @@ public URLHelper getRedirectURL(Object o)
345345
public static class NewAnimalWizardAction extends SimpleRedirectAction<Object>
346346
{
347347
@Override
348-
public URLHelper getRedirectURL(Object o)
348+
public ActionURL getRedirectURL(Object o)
349349
{
350350
return new ActionURL(NAME, "NewAnimalPage", getContainer());
351351
}

snprc_scheduler/src/org/labkey/snprc_scheduler/SNPRC_schedulerController.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import org.labkey.api.snd.SNDService;
2323
import org.labkey.api.snprc_scheduler.SNPRC_schedulerService;
2424
import org.labkey.api.util.DateUtil;
25-
import org.labkey.api.util.URLHelper;
2625
import org.labkey.api.view.ActionURL;
2726
import org.labkey.snprc_scheduler.domains.Timeline;
2827
import org.labkey.snprc_scheduler.security.SNPRC_schedulerEditorsPermission;
@@ -57,7 +56,7 @@ public SNPRC_schedulerController()
5756
public static class BeginAction extends SimpleRedirectAction<Object>
5857
{
5958
@Override
60-
public URLHelper getRedirectURL(Object o)
59+
public ActionURL getRedirectURL(Object o)
6160
{
6261
return new ActionURL(NAME, "app", getContainer());
6362
}

0 commit comments

Comments
 (0)