Use the right URI for compliance reports
This commit is contained in:
parent
ffedae0373
commit
9bca15ae7e
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ func populateReportURI(report *types.PublicReport, r *router) error {
|
|||
var route_name string
|
||||
switch report.Type {
|
||||
case "compliance":
|
||||
route_name = "publicreport.ByIDGet"
|
||||
route_name = "publicreport.compliance.ByIDGet"
|
||||
case "nuisance":
|
||||
route_name = "publicreport.nuisance.ByIDGet"
|
||||
case "water":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue