Retrospring/app/views/feedback/bugs.haml

16 lines
642 B
Plaintext

%div{ data: { canny: "" } }
%script
!function(w,d,i,s){function l(){if(!d.getElementById(i)){var f=d.getElementsByTagName(s)[0],e=d.createElement(s);
e.type="text/javascript",e.async=!0,e.src="https://canny.io/sdk.js",f.parentNode.insertBefore(e,f)}}
if("function"!=typeof w.Canny){var c=function(){c.q.push(arguments)};
c.q=[],w.Canny=c,"complete"===d.readyState?l():w.attachEvent?w.attachEvent("onload",l):w.addEventListener("load",l,!1)}
}(window,document,"canny-jssdk","script");
%script
Canny('render', {
boardToken: '#{APP_CONFIG['canny']['bug_board']}',
ssoToken: '#{canny_token}',
basePath: '/feedback/bugs'
});