Commit dc55a5ba authored by Bruno Martin's avatar Bruno Martin
Browse files

fix angularjs templates paths

parent d0190013
......@@ -25,9 +25,9 @@
(function generateMarkdownDirectives(app) {
var templates = {
// directive name -> template path
'markdowneditor': '/static/templates/directive.markdowneditor.html',
'modalmarkdowneditor': '/static/templates/directive.modalmarkdowneditor.html',
'modalmarkdowneditorwithtitle': '/static/templates/directive.modalmarkdowneditorwithtitle.html'
'markdowneditor': '/static/js/admin/templates/directive.markdowneditor.html',
'modalmarkdowneditor': '/static/js/admin/templates/directive.modalmarkdowneditor.html',
'modalmarkdowneditorwithtitle': '/static/js/admin/templates/directive.modalmarkdowneditorwithtitle.html'
};
function controller ($scope, $element, MarkdownDirective) {
......
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