if (window.logged_in) {
  $('#pre-saved-reports').click(function() {
    window.location.replace('/dashboard')
  })
}

// it should be added to the layouts / content before just before </body>
// <script src="/javascripts/application.js" type="text/javascript"></script>
