b4c755f295
to server)
9 lines
305 B
Plaintext
9 lines
305 B
Plaintext
<div id="habits"></div>
|
|
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
// HabitTracker is the app name
|
|
window.router = new HabitTracker.Routers.HabitsRouter({ habits: <%= @user.habits.to_json.html_safe -%>, user: <%= @user.to_json.html_safe -%> });
|
|
Backbone.history.start();
|
|
});
|
|
</script> |