Commit 45781883 authored by o's avatar o
Browse files

fix xml rendering

parent 392cea28
......@@ -7,7 +7,7 @@ class MainController < ApplicationController
end
def saml_metadata
@saml_metadata = ApiBackend::saml_metadata()
render '_saml_metadata', layout: false
@saml_metadata ||= ApiBackend::saml_metadata()
render xml: @saml_metadata
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment