I have no objection to the removing of haml, but breaking our templates ... bad
This commit is contained in:
parent
5ee91cc296
commit
470ecf97cc
|
@ -1,6 +0,0 @@
|
|||
%html
|
||||
%head
|
||||
%body
|
||||
:javascript
|
||||
window.opener.Discourse.authenticationComplete(#{@data.to_json});
|
||||
window.close();
|
|
@ -2,7 +2,7 @@
|
|||
<head></head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
window.opener.Discourse.authenticationComplete(#{@data.to_json});
|
||||
window.opener.Discourse.authenticationComplete(<%=@data.to_json.html_safe%>);
|
||||
window.close();
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
%html
|
||||
%head
|
||||
%body
|
||||
:javascript
|
||||
window.opener.Discourse.authenticationComplete(#{@data.to_json});
|
||||
window.close();
|
|
@ -2,7 +2,7 @@
|
|||
<head></head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
window.opener.Discourse.authenticationComplete(#{@data.to_json});
|
||||
window.opener.Discourse.authenticationComplete(<%=@data.to_json.to_json%>);
|
||||
window.close();
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
%html
|
||||
%head
|
||||
%body
|
||||
:javascript
|
||||
window.opener.Discourse.authenticationComplete(#{@data.to_json});
|
||||
window.close();
|
|
@ -2,8 +2,8 @@
|
|||
<head></head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
window.opener.Discourse.authenticationComplete(#{@data.to_json});
|
||||
window.opener.Discourse.authenticationComplete(<%=@data.to_json.html_safe%>);
|
||||
window.close();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue