Removes all remaining traces of setting the user_id in the browser.

This commit is contained in:
kikito
2015-12-16 18:44:10 +01:00
parent cf04b48d4e
commit 0c96b2da8d
2 changed files with 1 additions and 3 deletions

View File

@@ -4,7 +4,6 @@ App.Annotable =
$this = $(this)
ann_type = $this.data("annotable-type")
ann_id = $this.data("annotable-id")
ann_user_id = $this.data("annotable-user-id")
app = new annotator.App()
.include(annotator.ui.main, { element: this })

View File

@@ -1,6 +1,5 @@
<section data-annotable-type="legislation"
data-annotable-id="<%= @legislation.id %>"
data-annotable-user-id="<%= current_user.try(:id) %>">
data-annotable-id="<%= @legislation.id %>">
<div><%= @legislation.title %></div>
<div id="test"><%= @legislation.body %></div>