Refactored meetings resource and breaked up view into components

This commit is contained in:
jfederico
2016-10-19 13:43:58 -04:00
parent 855746dc08
commit 061f9c794a
12 changed files with 108 additions and 95 deletions

View File

@ -15,6 +15,7 @@
}
});
});
$('#url_form_button').click (function (event) {
$.ajax({
url : $(this).data ('url'),
@ -36,7 +37,7 @@
$(document).on("turbolinks:load", function() {
if ($("body[data-controller=landing]").get(0)) {
if ($("body[data-action=index]").get(0)) {
if ($("body[data-action=meeting]").get(0) || $("body[data-action=room]").get(0)) {
initIndex();
}
}