Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Ensure we use respond_to

Oliver Güntherd267e85a2fcb
diff --git a/app/controllers/angular_controller.rb b/app/controllers/angular_controller.rb
index 15c0d4bcf29..6d9f0280790 100644
--- a/app/controllers/angular_controller.rb
+++ b/app/controllers/angular_controller.rb
@@ -34,7 +34,11 @@ class AngularController < ApplicationController
def empty_layout
# Frontend will handle rendering
# but we will need to render with layout
- render html: "", layout: "angular/angular"
+ respond_to do |format|
+ format.html do
+ render html: "", layout: "angular/angular"
+ end
+ end
end
def login_back_url_params