//= require jquery
//= require jquery_ujs
//= require materialize-sprockets
//= require turbolinks

$(document).on('turbolinks:load', function (){
    $(".button-collapse").sideNav();
});

//= require jquery
//= require jquery_ujs
//= require materialize-sprockets
//= require turbolinks

$(document).on('turbolinks:load', function (){
    $(".button-collapse").sideNav();
    $('.collapsible-accordion').collapsible();
});

Fix bug navbar-side dropdown doesn't work when the page load
Fix bug navbar-side dropdown doesn't work when the page load 

