// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.
//
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require jquery
//= require jquery_ujs
//= require turbolinks
//= require_tree .

@@ -615,16 +615,39 @@
 ery_ujs%0A
+//= require foundation%0A
 //= requ
@@ -680,8 +680,53 @@
 _tree .%0A
+%0A$(function()%7B $(document).foundation(); %7D);%0A

Add fondation to applicaiton.js