$("#content").html($("<%= escape_javascript(render 'index') %>"))
projectPageCall();
history.pushState({isAjax: true}, null, clickedLink);

$("#content").html($("<%= escape_javascript(render 'index') %>"))
projectPageCall();
history.pushState({isAjax: true}, null, clickedLink);
$('meta[name="csrf-token"]').attr('content','<%= form_authenticity_token %>');

Add csrf token to reloaded tabs
Add csrf token to reloaded tabs

With the new ajaxified project tabs we lost the csrf token after
switching tabs. As a result certain actions, like joining a project,
would fail because of using the old token from the initial page load.
Re-setting it when rendering the tab content via ajax fixes this.
